All of lore.kernel.org
 help / color / mirror / Atom feed
* What is missed for port forwarding
@ 2004-03-06 18:36 Kai Weber
  2004-03-06 18:47 ` Antony Stone
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Weber @ 2004-03-06 18:36 UTC (permalink / raw)
  To: netfilter

I have a router where only masquerading and some QOS is enabled. I have
a problem with port forwarding HTTP.

The only rules I use (sorry for long lines):

$IPTABLES -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
$IPTABLES -t nat -A PREROUTING -p tcp --dport 10143 -j DNAT --to 192.168.1.2:22
$IPTABLES -t nat -A PREROUTING -p tcp --dport 8888 -i ppp0 -j DNAT --to 192.168.1.2:80

The first DNAT rule works without a problem. I can ssh directly to my
machine. But the requests to port 8888 seems not to be answered or come
through. To bad I only have switch which has no port mirroring to listen
to the whole traffic and find out the problem. 

Any ideas what I should try or I miss?

--  
  Kai Weber
» kai.weber@glorybox.de   http://www.glorybox.de   gpg-key: 0x594D4132


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

end of thread, other threads:[~2004-03-07 16:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-06 18:36 What is missed for port forwarding Kai Weber
2004-03-06 18:47 ` Antony Stone
2004-03-07  9:40   ` Kai Weber
2004-03-07  9:53     ` Antony Stone
2004-03-07 15:49       ` Kai Weber
2004-03-07 16:02         ` Antony Stone

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.