Why are you trying to forward an IP on your firewall to the firewall 
system's localhost address?

On Sun, 26 May 2002, Yoink! wrote:

> I'm trying to get a peculiar port forwarding script working.
> 
> The last part of it is this: I have a Windows box masqeraded by a Linux
> box, with the linux box connected to a cable modem. If someone on the
> Windows box wants to connect to say, www.windows.com, I want to redirect
> them to the Linux boxes IP web server.
> 
> My best attempt was:
> 
>  iptables -A PREROUTING -t nat -p tcp -d 64.215.245.12 --dport 80 -j DNAT \
>    --to 127.0.0.1:80
> 
> but this causes the connection to get dropped...
> 
> All of the examples I find concern re-mapping incoming connections, and
> not out-going ones.
> 
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to