diff options
author | Simon Rettberg | 2022-06-21 15:43:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-21 15:43:27 +0200 |
commit | a1e4e54f57b0f8c606491870c54c74cb2cd9b332 (patch) | |
tree | 97a9dbf21eca91a54705e2e4aaeeb31112264e0f /core/modules | |
parent | kernel config: Add more crap (diff) | |
download | mltk-a1e4e54f57b0f8c606491870c54c74cb2cd9b332.tar.gz mltk-a1e4e54f57b0f8c606491870c54c74cb2cd9b332.tar.xz mltk-a1e4e54f57b0f8c606491870c54c74cb2cd9b332.zip |
[printergui] F#+*!ng boot0 rename still haunting us
Diffstat (limited to 'core/modules')
-rwxr-xr-x | core/modules/printergui/data/opt/openslx/iptables/rules.d/50-lpd-redirect-and-fw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/printergui/data/opt/openslx/iptables/rules.d/50-lpd-redirect-and-fw b/core/modules/printergui/data/opt/openslx/iptables/rules.d/50-lpd-redirect-and-fw index 02945e76..d0ee2b4b 100755 --- a/core/modules/printergui/data/opt/openslx/iptables/rules.d/50-lpd-redirect-and-fw +++ b/core/modules/printergui/data/opt/openslx/iptables/rules.d/50-lpd-redirect-and-fw @@ -5,7 +5,7 @@ for br in br0 nat1 vsw2; do [ -d "/sys/class/net/${br}/brif" ] || continue devs=$(ls -1 "/sys/class/net/${br}/brif/") for dev in $devs; do - case "$dev" in eth?|eth??|tun?|tun??) continue ;; esac + case "$dev" in boot0|eth?|eth??|tun?|tun??) continue ;; esac iptables -t nat -A PREROUTING -m physdev --physdev-in "$dev" -d 192.168.101.1 -p tcp --dport 515 -j REDIRECT --to-port 5515 iptables -t nat -A PREROUTING -m physdev --physdev-in "$dev" -d 192.169.101.1 -p tcp --dport 515 -j REDIRECT --to-port 5515 iptables -t nat -A PREROUTING -m physdev --physdev-in "$dev" -d 100.100.100.100 -p tcp --dport 515 -j REDIRECT --to-port 5515 |