Downtown Doug Brown Wiki

Thoughts from a combined Apple/Linux/Windows geek

User Tools

Site Tools


ubuntu:iptables_rules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:iptables_rules [2019/05/27 13:29] dougubuntu:iptables_rules [2019/05/27 13:31] (current) doug
Line 44: Line 44:
 #!/bin/sh #!/bin/sh
 if [ "${IFACE}" = eth0 ]; then if [ "${IFACE}" = eth0 ]; then
-    /sbin/iptables-restore </etc/iptables.rules+    /sbin/iptables-restore < /etc/iptables.rules
 fi fi
 </file> </file>
ubuntu/iptables_rules.txt · Last modified: 2019/05/27 13:31 by doug