Re: forwarding on the same NIC

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

 



On May 10, 2004 03:36 pm, alucard@xxxxxxxxx wrote:
> es -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
> iptables -A FORWARD -i eth0 -p tcp --dport 8080 -j ACCEPT


	Your forward rule should be for port 80.

	The port on the packet by the time it hits forward is 80 not 8080
	you might want to add the 'destination' ip address to this rule as well.

	Alistair.

	


[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