All of lore.kernel.org
 help / color / mirror / Atom feed
* Port forwarding on host interface
@ 2009-09-23 11:05 Daniel Huhardeaux
  2009-09-23 12:30 ` Mart Frauenlob
  2009-09-23 14:09 ` Pascal Hambourg
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Huhardeaux @ 2009-09-23 11:05 UTC (permalink / raw)
  To: netfilter

Hi all,

I would like to redirect an external port to another port on the same 
machine. I read on some documents that the kernel doesn't allow DNAT to 
127.0.0.1 so I ended up with following setup:

let's say I want to redirect 59000 port on my 1.2.3.4 public IP to 5900 
port on the same public IP *but a direct connection to 5900 port on the 
public IP* is forbidden. At this time my packets are marked for iproute2 
(2 ISP), mark 201 (isp1) or 202 (Isp2).

Has someone a tip for me? Is it true that forwarding to 127.0.0.1 can't 
be done?

Thanks for any hint.

-- 
Daniel Huhardeaux       _____ ____ ____ _____ _____ _
enum   +33 368 460 088 (_  __) _  ) _  (_  __) _  _(_)  +48 222 472 472
iaxtel  1-700-849-6983  / / / // / // / / / / /_/ / /  GIZMO,SKYPE,GTALK
sip/iax:callto 101@sip./_/ ( ___( ___/ /_/ (_/ (_/_/.net   tootaiNET


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

end of thread, other threads:[~2009-09-24  8:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 11:05 Port forwarding on host interface Daniel Huhardeaux
2009-09-23 12:30 ` Mart Frauenlob
2009-09-23 14:09 ` Pascal Hambourg
2009-09-24  8:17   ` Daniel Huhardeaux

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.