Re: OpenSSH 4.3 VPN?
- From: Scott Baker <bakers@xxxxxxxxxxxx>
- Date: Mon, 13 Feb 2006 09:15:02 -0800
I guess where I get confused is the IP addresses on the tun0
interface. I'm assuming I can accomplish what I want by having the
IPs be local to that network (so it doesn't go out the default
route) and then NATing that interface? I'm not sure, as we haven't
figured out what the IP scheme should be.
Specifically what's the IP address on a tun interface, and how does
it relate to the pointopoint IP address that you can also assign?
Alexander Klimov wrote:
On Fri, 10 Feb 2006, Scott Baker wrote:
That will setup the tunnel between the two points. What do I need to
do with that tun0 interface to all my home PC access to all my
servers. I don't want to have to change my routes on all my servers,
is that possible? Does the tun0 interface need IPs on it? If so what
subnets should they be on?
IIUC, what ssh gives you is almost identical to the following: you get
two network cards, insert one to ssh server's host, another one to the
client's one, and connect them with a cross-over cable. Now you want
packets from A to B to be routed thru this C-S connection. You can
avoid changing routing table of A and B but then you have to setup
routes on the default routers of A and B so that they forward packets
to C and S respectively, and C and S should forward between one
network card and this virtual one.
- Prev by Date: Re: OpenSSH 4.3 VPN?
- Next by Date: Re: openSSH of Solaris/Debian X does not work
- Previous by thread: Re: OpenSSH 4.3 VPN?
- Next by thread: Bad utmp entry