[TriLUG] (another) iptables question
Glenn Meyer
me at glennmeyer.com
Sat Jan 18 23:38:08 EST 2003
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT
--to 192.168.0.3:80
This takes incoming tcp port 80 requests from eth0 and forwards them to
internal machine 192.168.0.3 port 80
Greg Brown wrote:
> I've got two machines: firewall and server. I'd like to take http
> requests coming in to the firewall and transparently pass then to the
> server (as if the server were answering the requests itself). Is this
> possible?
>
> Greg
>
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
> http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
More information about the TriLUG
mailing list