Here is some comprehensive documentation which provides several options you can choose from:
https://help.ubuntu.com/community/IptablesHowTo#Configuration on startup
Here is some comprehensive documentation which provides several options you can choose from:
https://help.ubuntu.com/community/IptablesHowTo#Configuration on startup