Did some searching and cannot find any basic info for noobs on how to implement firewall settings...I am in the process of testing different VPN services and one wants me to add/run this:
iptables -I FORWARD -i br0 -o tap0 -j ACCEPT
iptables -I FORWARD -i tap0 -o br0 -j ACCEPT
iptables -I INPUT -i tap0 -j REJECT
iptables -t nat -A POSTROUTING -o tap0 -j MASQUERADE
What exactly does this do, and how would I go about adding it? Creating a firewall-start script and sshing it into the jffs folder? But then how do I know it's running? Forgive me but although very tech savvy, this is one area of the tech world I have not had to deal with much... thanks in advance for any help!
iptables -I FORWARD -i br0 -o tap0 -j ACCEPT
iptables -I FORWARD -i tap0 -o br0 -j ACCEPT
iptables -I INPUT -i tap0 -j REJECT
iptables -t nat -A POSTROUTING -o tap0 -j MASQUERADE
What exactly does this do, and how would I go about adding it? Creating a firewall-start script and sshing it into the jffs folder? But then how do I know it's running? Forgive me but although very tech savvy, this is one area of the tech world I have not had to deal with much... thanks in advance for any help!