RE: DNAT possible Bug?

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

 



Do a quick google for...
"same network" +DNAT +netfilter

I know there was talk of adding this topic to the netfilter FAQ some
time ago, since it is something a number of people have trouble with
initially, but I don't know if it's in the faq.

Enjoy,

Darrell Dieringer - Madison, WI


> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Jochen
> Radmacher
> Sent: Monday, January 27, 2003 11:13 AM
> To: netfilter@lists.netfilter.org
> Subject: DNAT possible Bug?
>
>
> I'm using a DNAT- Rule to Forward a Port from my Router to
> my Server:
>
> iptables -t nat -A PREROUTING -d <outsideip> -p tcp --dport 4000 \
> -j DNAT --to 192.168.0.44:80
>
> This works fine when I'm connecting from the outside. But If i try:
> jr@192.168.0.42# lynx <outsideip>:4000
> this does not work. Her is the Output from /proc/net/ip_conntrack:
>
> tcp      6 84 SYN_SENT src=192.168.0.44 dst=<outsideip> sport=33474
> dport=4000 [UNREPLIED] src=192.168.0.44 dst=192.168.0.44 sport=80
> dport=33474 use=1
>
>
> Jochen
>
>
>
>



[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