• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Accessing IPv6-enabled internet via SSH tunnel

Started by rnolen, December 25, 2010, 05:14:32 AM

Previous topic - Next topic

rnolen

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.

jimb

#1
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.

liuxyon

Quote from: 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.

how i do it? i am using windows ssh.
<a href="http://ipv6.he.net/certification/scoresheet.php?pass_name=liuxyon" target="_blank"><img src="http://ipv6.he.net/certification/create_badge.php?pass_name=liuxyon&amp;badge=3" style="border: 0; width: 229px; height: 137px" alt="IPv6 Certification Badge for liuxyon"></img></a>

cholzhauer