How to handle ip table rules


Taken from: http://stackoverflow.com/questions/9330694/how-to-permanently-update-iptables

Kudos to the user "vinod_garag"


vim /etc/network/interfaces
post-up /sbin/iptables-restore < /etc/iptables-up.rules
iptables-save > /etc/iptables-up.rules
One way to do this would be:
Append the below line along with your eth0 directives:
Now run the below command

Comments

Popular posts from this blog

Ruby weirdness

Running LXD/LXC on WSL2 with Ubuntu 20.04

Installing pikvm on raspberry pi zero 2 w