local portforward

2010-05-10 bef zés Szima Gábor

Sziasztok!

Egy reges-reg elfeledett linuxrol kellene osoreg (2001-es 3.9p1) ssh-val 
remote portforwardot csinalni.

Elvileg mukodik az

ujgep# ssh regigep -R192.168.2.1:1234:loaclhost:80

Parancs, viszont az 1234 port csak localhost-on figyel, igy a kivulrol 
indulo keresek visszapattannak a 192.168.2.1:1234 -rol.

Uj ssh-val menne rendesen, de a regitol csak ez telik.
Cserere nincs mod, nem akarom tavolrol beboritani emiatt.

Mit lehet legyorsabban osszehozni az hogy eth - lo forwardra? iptables?
Vagy van egyszerubb modszer?


-Sygma
_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: local portforward

2010-05-10 bef zés Ferenc Wagner
Szima Gábor sy...@tesla.hu writes:

 Elvileg mukodik az

 ujgep# ssh regigep -R192.168.2.1:1234:loaclhost:80

 Parancs, viszont az 1234 port csak localhost-on figyel, igy a kivulrol 
 indulo keresek visszapattannak a 192.168.2.1:1234 -rol.

Ez rendben?

Specifying a remote bind_address will only succeed if the server's
GatewayPorts option is enabled (see sshd_config(5)).
-- 
Feri.
_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

Re: local portforward

2010-05-10 bef zés Szima Gábor

On Mon, 10 May 2010, Ferenc Wagner wrote:

 Parancs, viszont az 1234 port csak localhost-on figyel, igy a kivulrol
 indulo keresek visszapattannak a 192.168.2.1:1234 -rol.

 Ez rendben?

Specifying a remote bind_address will only succeed if the server's
GatewayPorts option is enabled (see sshd_config(5)).

Most mar igen, es mukodik is rendesen.

Koszonom a segitseget!


-Sygma
_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: local portforward

2010-05-10 bef zés Kovács Attila
Szima Gábor írta:
 Mit lehet legyorsabban osszehozni az hogy eth - lo forwardra? iptables?
 Vagy van egyszerubb modszer?
   

rinetd?

-- 
k-atti-

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux