hi, I like to use somthing like this via ssh: +-----------+ +---------------+ +-----------+ | DB-Client |---------| Tunnel-Server |==========| DB-Server | | | | Port 3333 | | Port 9876 | +-----------+ +---------------+ +-----------+ A tunnel between Tunnel-Sever and DB Server is installed with: ssh -L 3333:DB-Server:9876 DB-Server Is it possible to have DB-Client use Port 3333 on Tunnel-Server to access Port 9876 (my database daemon) on DB-Server? Clues are welcome. Thanks Thom -- ------------------------------------------------------------------- bye bye (c) by Thom | Thorsten Marquardt | EMail: THOM@kaupp.chemie.uni-oldenburg.de | Member of the pzt project. | http://kaupp.chemie.uni-oldenburg.de/pzt -------------------------------------------------------------------
On Friday, July 26, 2002 01:36:39 PM +0000 Thorsten Marquardt <thom@kaupp.chemie.uni-oldenburg.de> wrote: +------ | hi, | | I like to use somthing like this via ssh: | | +-----------+ +---------------+ +-----------+ | | DB-Client |---------| Tunnel-Server |==========| DB-Server | | | | | Port 3333 | | Port 9876 | | +-----------+ +---------------+ +-----------+ | | A tunnel between Tunnel-Sever and DB Server is installed with: | | ssh -L 3333:DB-Server:9876 DB-Server | | Is it possible to have DB-Client use Port 3333 on Tunnel-Server | to access Port 9876 (my database daemon) on DB-Server? +-----X8 That's what the -g flag does, but I would be very carefull about using it. /Michael -- This space intentionally left non-blank.
no problem ssh -L 3333:DB-Server:9876 DB-Server totaly right to set up the tunnel use tunnel-server:3333 and you'll be redirekted to db-server Am Fre, 2002-07-26 um 15.36 schrieb Thorsten Marquardt:
hi,
I like to use somthing like this via ssh:
+-----------+ +---------------+ +-----------+ | DB-Client |---------| Tunnel-Server |==========| DB-Server | | | | Port 3333 | | Port 9876 | +-----------+ +---------------+ +-----------+
A tunnel between Tunnel-Sever and DB Server is installed with:
ssh -L 3333:DB-Server:9876 DB-Server
Is it possible to have DB-Client use Port 3333 on Tunnel-Server to access Port 9876 (my database daemon) on DB-Server?
Clues are welcome.
Thanks
Thom
--
------------------------------------------------------------------- bye bye (c) by Thom | Thorsten Marquardt | EMail: THOM@kaupp.chemie.uni-oldenburg.de | Member of the pzt project. | http://kaupp.chemie.uni-oldenburg.de/pzt -------------------------------------------------------------------
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
sorry has to be ssh -R 3333:<DB-Server>:9876 <Tunel-Server> this we 'rout' all traffic on <Tunnel-Server>:3333 to <DB-Server>:9876 Am Fre, 2002-07-26 um 18.15 schrieb Georg Reitschmidt:
no problem ssh -L 3333:DB-Server:9876 DB-Server totaly right to set up the tunnel use tunnel-server:3333 and you'll be redirekted to db-server
Am Fre, 2002-07-26 um 15.36 schrieb Thorsten Marquardt:
hi,
I like to use somthing like this via ssh:
+-----------+ +---------------+ +-----------+ | DB-Client |---------| Tunnel-Server |==========| DB-Server | | | | Port 3333 | | Port 9876 | +-----------+ +---------------+ +-----------+
A tunnel between Tunnel-Sever and DB Server is installed with:
ssh -L 3333:DB-Server:9876 DB-Server
Is it possible to have DB-Client use Port 3333 on Tunnel-Server to access Port 9876 (my database daemon) on DB-Server?
Clues are welcome.
Thanks
Thom
participants (3)
-
Georg Reitschmidt
-
Michael Salmon
-
Thorsten Marquardt