Difference between revisions of "Iptables"

From Finninday
Jump to: navigation, search
Line 13: Line 13:
 
===Config files===
 
===Config files===
 
*/etc/default/iptables
 
*/etc/default/iptables
 +
 +
Well, I thought that would be all that I needed, but after a reboot my firewall is a mess.  I need to keep ufw from stomping on my configuration, so I need to integrate with ufw instead of trying to just port my old iptables rules.
 +
 +
I'm following these instructions: https://help.ubuntu.com/8.04/serverguide/C/firewall.html
 +
 +
I updated
 +
*/etc/default/ufw
 +
*/etc/ufw/sysctl.conf
 +
*/etc/ufw/before.rules
 +
  
 
See also [[Hosts.deny]]
 
See also [[Hosts.deny]]

Revision as of 23:34, 14 May 2008


Packages

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                       Version                    Description
+++-==========================-==========================-====================================================================
ii  iptables                   1.3.8.0debian1-1ubuntu2    administration tools for packet filtering and NAT

Config files

  • /etc/default/iptables

Well, I thought that would be all that I needed, but after a reboot my firewall is a mess. I need to keep ufw from stomping on my configuration, so I need to integrate with ufw instead of trying to just port my old iptables rules.

I'm following these instructions: https://help.ubuntu.com/8.04/serverguide/C/firewall.html

I updated

  • /etc/default/ufw
  • /etc/ufw/sysctl.conf
  • /etc/ufw/before.rules


See also Hosts.deny