Linux Netfilter discussions
 help / color / mirror / Atom feed
* Masquerading on local ports
@ 2003-03-20 14:03 Henry Ritzlmayr
  2003-03-20 15:29 ` Rob Sterenborg
  2003-03-21  7:22 ` Joel Newkirk
  0 siblings, 2 replies; 7+ messages in thread
From: Henry Ritzlmayr @ 2003-03-20 14:03 UTC (permalink / raw)
  To: netfilter

Hi everyone - this is my first post to this list - so if anything is
wrong with my way of posting please tell.

And here is the question. How is it possible to nat a lokal port?

IPTABLES -t nat -A PREROUTING -p tcp -d 127.0.0.1 --destination-port 81
-j DNAT --to-destination 127.0.0.1:80

telnet localhost 80  <<< works
telnet localhost 81  <<< Connection refused

Henry







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

end of thread, other threads:[~2003-03-21 17:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 14:03 Masquerading on local ports Henry Ritzlmayr
2003-03-20 15:29 ` Rob Sterenborg
2003-03-20 16:14   ` henry ritzlmayr
2003-03-20 16:26   ` Henry Ritzlmayr
2003-03-20 18:34     ` alexb
2003-03-21  7:22 ` Joel Newkirk
2003-03-21 17:17   ` Henry Ritzlmayr

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