Re: Forwarding HTTP question

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

 



On Fri, 2003-07-04 at 09:41, Guilherme Viebig wrote:
> My Firewall has two interfaces
> 
> eth0 200.123.234.111
> eth1 192.168.0.1
> 
> I have an internal webserver on 192.168.0.33
> 
> How can I setup iptables to forward incoming traffic by eth0 to port 80 go
> to 192.168.0.33:80 ?

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.0.33

j




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux