Re: iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Sep 16, 2010 at 4:18 PM,  <m.roth@xxxxxxxxx> wrote:
> alexus wrote:
>> I'm trying to do some simple tcp port forwarding
>>
> <snip>
>> [root@wcmisdlin02 ~]# iptables --table nat --append PREROUTING --proto
>> tcp --dport 80 --jump DNAT --to 10.52.208.223:80
> <snip>                                      ^^^
>> [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
>
> Could this be a problem?
>
>          mark
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

iptables contains a rule where to forward traffic
and i'm testing against my local machine and not a remote
how is that a problem?

if i'll be hitting remote machine then i dont really need a redirect
-- 
http://alexus.org/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux