diff options
author | Simon Rettberg | 2014-01-17 19:39:39 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-01-17 19:39:39 +0100 |
commit | bb0282a103944c6e81d43bc09151b8510e6482ce (patch) | |
tree | c2e4343f4c32f952e0d08893919f6d182692fe28 /remote/modules/dhcpc-busybox | |
parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
download | tm-scripts-bb0282a103944c6e81d43bc09151b8510e6482ce.tar.gz tm-scripts-bb0282a103944c6e81d43bc09151b8510e6482ce.tar.xz tm-scripts-bb0282a103944c6e81d43bc09151b8510e6482ce.zip |
Make some modules use iptables-helper
Diffstat (limited to 'remote/modules/dhcpc-busybox')
-rwxr-xr-x | remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx index fe2fa252..00d22ba5 100755 --- a/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx +++ b/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx @@ -163,10 +163,10 @@ case "$1" in # Mark network target as reached systemctl start network.target & - # Port redirection for printing - iptables -A INPUT -i br0 -p tcp --dport 515 -j DROP - iptables -A INPUT -i br0 -p tcp --dport 5515 -j DROP - iptables -t nat -A PREROUTING -p tcp --dport 515 -j REDIRECT --to-port 5515 + # Port redirection for printing happens in printergui modules (iptables-helper rule) + ####iptables -A INPUT -i br0 -p tcp --dport 515 -j DROP + ####iptables -A INPUT -i br0 -p tcp --dport 5515 -j DROP + ####iptables -t nat -A PREROUTING -s 192.168.0.0/16 -p tcp --dport 515 -j REDIRECT --to-port 5515 fi ;; |