All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] iptables port forward
@ 2003-05-21 14:43 Tomas Bonnedahl
  2003-05-21 14:51 ` Martin A. Brown
  2003-05-21 14:57 ` Tomas Bonnedahl
  0 siblings, 2 replies; 3+ messages in thread
From: Tomas Bonnedahl @ 2003-05-21 14:43 UTC (permalink / raw)
  To: lartc

hello, quick question: i want to port forward those that enter at x:80 to internal address y:7865, how can i do that
with iptables? 

iptables -t nat -I PREROUTING 4 -i eth0 -d x -p tcp --dport 80 -j DNAT --to y   when/how do i specify port 7865?


thank you,
tomas bonnedahl
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-05-21 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-21 14:43 [LARTC] iptables port forward Tomas Bonnedahl
2003-05-21 14:51 ` Martin A. Brown
2003-05-21 14:57 ` Tomas Bonnedahl

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.