shinobu/router: Add printer vlan
This commit is contained in:
parent
d678da8454
commit
0cbdc22d4e
|
@ -76,6 +76,11 @@ rec {
|
|||
subnet = mkSubnet "10.80.4.0/24" "2001:470:73b9:4::/64";
|
||||
domain = "iot.shinonome-lab.de";
|
||||
};
|
||||
printer = {
|
||||
id = 41;
|
||||
subnet = mkSubnet "10.80.5.0/24" "2001:470:73b9:5::/64";
|
||||
domain = "printer.shinonome-lab.de";
|
||||
};
|
||||
};
|
||||
tc = {
|
||||
interface = "enp1s0";
|
||||
|
|
|
@ -31,6 +31,9 @@ table inet filter {
|
|||
iifname $VLAN_BRIDGES oifname "br-lan" ct state established,related counter accept
|
||||
|
||||
iifname $WAN_IFACES oifname "br-iot" ct state established,related counter accept
|
||||
|
||||
iifname "br-printer" oifname "br-lan" ip daddr $STATIC_HOST_fuuko_address4 tcp dport { 21, 30000-30009 } counter accept
|
||||
iifname "br-printer" oifname "br-lan" ip6 daddr $STATIC_HOST_fuuko_address6 tcp dport { 21, 30000-30009 } counter accept
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue