[CentOS] iptables

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Sep 16 16:18:15 EDT 2010


alexus wrote:
> I'm trying to do some simple tcp port forwarding
>
<snip>
> [root at wcmisdlin02 ~]# iptables --table nat --append PREROUTING --proto
> tcp --dport 80 --jump DNAT --to 10.52.208.223:80
<snip>                                      ^^^
> [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

Could this be a problem?

          mark




More information about the CentOS mailing list