Re: Connect to localhost bound port from outside?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you, but REDIRECT works fine only if the server listens on 0.0.0.0,
when the server listens on 127.0.0.1, it doesn't work.

kernel:  2.6.9-gentoo-r14
iptables: iptables-1.3.5-r4

Jan

-- 
Jan Bares
http://jan.vegetband.cz


"??????????? ??????" <casper@xxxxxxxxxxxx> wrote in message
news:1170234205.4464.0.camel@xxxxxxxxxxxxxxxxxxxxxxxx
> ÷ óOÄ, 31/01/2007 × 08:33 +0100, jan_bar ?ÉUAÔ:
> > Hi,
> >
> > I want to connect from my VPN interface to the port that is bound to
> > (listening on) localhost. The server listens only on localhost, so it is
not
> > visible to outside world and it seems that I cannot use iptables to
forward
> > outside traffice from VPN to that port.
>
> -j REDIRECT should do the job.
>
> -- 
> ?IËIÔÉIAÎËI ëIÓÔÉË <casper@xxxxxxxxxxxx>
>
>
>





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux