Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: rnolen on December 25, 2010, 05:14:32 AM

Title: Accessing IPv6-enabled internet via SSH tunnel
Post by: rnolen on December 25, 2010, 05:14:32 AM
Instead of configuring multiple IPv6 tunnels for the various locations in which I would use them, I'd like to access IPv6 addresses by tunneling via SSH through a single IPv6-enabled server. That is:

Various IPv4 clients ----SSH tunnel----> IPv4/IPv6 server (SSH listening on both 4 and 6 I imagine) ----> IPv4/IPv6 internet.

Would such a setup be feasible? If so, I could use a few hints to accomplish it. Enabling IPv6 on the server and having SSH listen on 4 and 6 isn't a problem, but beyond that I'm stuck.
Title: Re: Accessing IPv6-enabled internet via SSH tunnel
Post by: jimb on December 25, 2010, 02:00:59 PM
Sure.  Using ssh -w would work just fine.  You set up the SSH connection(s), then put IPv6 addresses on the associated TUN interfaces, and point routes though 'em.  Or run a dynamic routing proto.

You might also want to look into vtun, openvpn, and other stuff like that which supports IPv6.
Title: Re: Accessing IPv6-enabled internet via SSH tunnel
Post by: liuxyon on August 14, 2017, 05:16:09 AM
Sure.  Using ssh -w would work just fine.  You set up the SSH connection(s), then put IPv6 addresses on the associated TUN interfaces, and point routes though 'em.  Or run a dynamic routing proto.

You might also want to look into vtun, openvpn, and other stuff like that which supports IPv6.

how i do it? i am using windows ssh.
Title: Re: Accessing IPv6-enabled internet via SSH tunnel
Post by: cholzhauer on August 14, 2017, 05:53:53 AM
You should create your own thread.