When I was first learning iptables, I found "Rusty's Remarkably Unreliable Guides" to be an excellent resource on how iptables works. He covers each part of iptables and does it in a clear and easy to understand manner. If I remember correctly, the guides are also entertaining.
http://people.netfilter.org/~rusty/unreliable-guides/
I personally don't like any of the GUIs out there. I find them to be way to constricting compared to the sheer power and flexibility of iptables. You're better off going through the guide and googling and then just writing your rules in a text editor.
____________________________ Matt Ausmus Network Administrator Chapman University 635 West Palm Street Orange, CA 92868 (714)628-2738 mausmus@chapman.edu
"Nothing is ever accomplished by a reasonable man." -Bucy's Law -----Original Message----- From: Robert Spangler [mailto:mlists@zoominternet.net] Sent: Friday, September 17, 2010 9:39 AM To: CentOS mailing list Subject: Re: [CentOS] iptables
On Thursday 16 September 2010 16:03, alexus wrote:
I'm trying to do some simple tcp port forwarding
The first thing you need to do is drop the RH-firewall BS and create a new firewall rule set setup for your needs. If you don't know how to setup a firewall then I would suggest you get one of those GUI programs that can do this for you.
[root@wcmisdlin02 ~]# curl --verbose http://10.52.208.221:80
- About to connect() to 10.52.208.221 port 80
- Trying 10.52.208.221... Connection refused
- couldn't connect to host
- Closing connection #0
curl: (7) couldn't connect to host [root@wcmisdlin02 ~]#
Looks like this host doesn't accept port 80 connections.