[CentOS] iptables

Mon Sep 20 17:24:10 UTC 2010
alexus <alexus at gmail.com>

.223 has port 80 open and it accepts connection
when i'm connecting to .221 and that suppose to foward it to .223 then
it doesn't work

On Fri, Sep 17, 2010 at 12:38 PM, Robert Spangler
<mlists at zoominternet.net> wrote:
> 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 at 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 at wcmisdlin02 ~]#
>
> Looks like this host doesn't accept port 80 connections.
>
>
> --
>
> Regards
> Robert
>
> Linux
> The adventure of a life time.
>
> Linux User #296285
> Get Counted
> http://counter.li.org/
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
http://alexus.org/