Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   How to connect a Host to tunnel (so you can connect to foo.example.net instead of localhost:port) (http://www.linux-archive.org/debian-user/221246-how-connect-host-tunnel-so-you-can-connect-foo-example-net-instead-localhost-port.html)

Jabka Atu 01-02-2009 08:20 AM

How to connect a Host to tunnel (so you can connect to foo.example.net instead of localhost:port)
 
Howdy ,

I used to ssh tunnel's to overcome NAT problems and just for fun.
One of the thins is to do ssh -L portonmypc:NATip:NATport
user@sshServerInFrontofNat
This will bring the abiulty to use most of things.

The question is there a way to connect this kind of tunnel to fakeip ?
for example something in type of :
/etc/hosts
ip:port natedpc.somedomain natedpc

so you can use your laptop (pc ) without further edittions.
what i mean is that if i used (
https://help.ubuntu.com/community/SSH_VPN ) type i would need to set it
on two or more pc the tun devices , but i wish to do all the settings on
one pc.

--
---==== Jabka Atu ===---
bsh83.blogspot.com
---=== Encryption is a way of life ===---


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 04:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.