All of lore.kernel.org
 help / color / mirror / Atom feed
* DNAT possible Bug?
@ 2003-01-27 17:13 Jochen Radmacher
  2003-01-27 17:48 ` Darrell Dieringer
  0 siblings, 1 reply; 3+ messages in thread
From: Jochen Radmacher @ 2003-01-27 17:13 UTC (permalink / raw)
  To: netfilter

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: DNAT possible Bug?
  2003-01-27 17:13 DNAT possible Bug? Jochen Radmacher
@ 2003-01-27 17:48 ` Darrell Dieringer
  2003-01-27 18:24   ` Jochen Radmacher
  0 siblings, 1 reply; 3+ messages in thread
From: Darrell Dieringer @ 2003-01-27 17:48 UTC (permalink / raw)
  To: Jochen Radmacher, netfilter


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
>
>
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DNAT possible Bug?
  2003-01-27 17:48 ` Darrell Dieringer
@ 2003-01-27 18:24   ` Jochen Radmacher
  0 siblings, 0 replies; 3+ messages in thread
From: Jochen Radmacher @ 2003-01-27 18:24 UTC (permalink / raw)
  To: netfilter

Shame on me...  :-[ it's in the HOWTO:
http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO-10.html
Darrell Dieringer wrote:

>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
>  
>
[..]




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-27 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 17:13 DNAT possible Bug? Jochen Radmacher
2003-01-27 17:48 ` Darrell Dieringer
2003-01-27 18:24   ` Jochen Radmacher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.