Iptables: Difference between revisions

From finninday
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
*/etc/ufw/before.rules
*/etc/ufw/before.rules


I think this means that I can remove the rc.local script that I have that enables forwarding.


See also [[Hosts.deny]]
See also [[Hosts.deny]]

Revision as of 23:35, 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

I think this means that I can remove the rc.local script that I have that enables forwarding.

See also Hosts.deny