Linux Netfilter discussions
 help / color / mirror / Atom feed
* Port forwarding inside local domain
@ 2007-08-20 14:11 Bertram Scharpf
  2007-08-20 14:34 ` Ruben Laban
  0 siblings, 1 reply; 4+ messages in thread
From: Bertram Scharpf @ 2007-08-20 14:11 UTC (permalink / raw)
  To: netfilter

Hi,

just another question. Let my router be 192.168.7.33 with
interfaces eth0 and ppp0; then this works perfectly here:

  # iptables -t nat -A PREROUTING -i ppp+ -p tcp --dport 80 \
      -j DNAT --to 192.168.7.49:80

However, I want to request from inside my local domain the
same way. This seems to end in a drop or an infinite loop:

  # iptables -t nat -A PREROUTING -d 192.168.7.33 -p tcp --dport 80 \
      -j DNAT --to 192.168.7.49:80

Besides that I want to know what is going wrong here, I
further would like to ask how I could debug this.

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

end of thread, other threads:[~2007-08-21  6:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 14:11 Port forwarding inside local domain Bertram Scharpf
2007-08-20 14:34 ` Ruben Laban
2007-08-20 19:10   ` Bertram Scharpf
2007-08-21  6:57     ` Ruben Laban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox