I made changes to iptables config file in /etc/iptables/filter in ubuntu and want to reload them. I read the man page and also googled but couldn't find the information. Any help will be appreciated.
Easiest way is to reboot (also if below does not work, reboot, check if that made the change).
Second easiest is to restart the daemons using iptables configurations (google: restart daemon ubuntu).
examples (depends your configuration):
To activate the firewall rules in your config file you must use:
And you can check that they are activated with:
If you want that the rules are activated each time you boot the computer create this file:
With this content:
And give it permission of execution:
Hope it helps you =)
After googling a little, this is what i found to restart iptables. . . sudo /etc/init.d/firewall restart