ubuntu:iptables_rules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:iptables_rules [2014/12/25 19:05] – doug | ubuntu:iptables_rules [2019/05/27 13:31] (current) – doug | ||
---|---|---|---|
Line 39: | Line 39: | ||
'' | '' | ||
- | Put the following into it: | + | Put the following into it (replace eth0 with the name of your network interface): |
< | < | ||
#!/bin/sh | #!/bin/sh | ||
- | / | + | if [ " |
+ | | ||
+ | fi | ||
</ | </ | ||
Line 51: | Line 53: | ||
That should do the trick! Confirm that your firewall rules come up correctly on boot. | That should do the trick! Confirm that your firewall rules come up correctly on boot. | ||
+ | |||
ubuntu/iptables_rules.1419563110.txt.gz · Last modified: 2014/12/25 19:05 by doug