- Update set_iptables.sh with appropriate network interfaces.
- Add rules if you have more than 2 interfaces.
- Execute set_iptables.sh with sudo permission.
sudo ./set_iptables.sh
- While testing remotely, add crontab entry to reset firewall every 10 minutes.