Hurricane Electric's IPv6 Tunnel Broker Forums
June 17, 2013, 09:34:44 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Configuring a tunnel under Linux  (Read 34652 times)
broquea
Senior Network Engineer, SEVEN Networks (AS19733)
Hero Member
*****
Posts: 1389



View Profile WWW
« on: February 08, 2008, 01:49:39 pm »

Users will always be able to view the example configurations provided in the tunnelbroker.net interface, however we also wanted to make them available on the forums. I'll cover both the ifconfig and ip commands used. I won't be using valid IPv4/IPv6 information in the examples, but the example configurations in the broker's interface will provide the full commands with your relevant account information.

Legend of variables:
$ipv4a = tunnel server's IPv4 IP
$ipv4b = user's IPv4 IP
$ipv6a = tunnel server's side of point-to-point /64 allocation
$ipv6b = user's side of point-to-point /64 allocation

Using ifconfig:

ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::$ipv4a
ifconfig sit1 up
ifconfig sit1 inet6 add $ipv6b
route -A inet6 add ::/0 dev sit1

Using ip:

ip tunnel add he-ipv6 mode sit remote $ipv4a local $ipv4b ttl 255
ip link set he-ipv6 up
ip addr add $ipv6b dev he-ipv6
ip route add ::/0 dev he-ipv6
« Last Edit: August 05, 2010, 08:41:25 am by broquea » Logged
broquea
Senior Network Engineer, SEVEN Networks (AS19733)
Hero Member
*****
Posts: 1389



View Profile WWW
« Reply #1 on: May 03, 2008, 04:27:59 pm »

I slapped together a video presentation on setting up a Linux tunnel behind a firewall that passes Protocol41:

http://www.youtube.com/watch?v=4o7sk97mItM

Full resolution version here: http://broquea.corp.he.net/videos/tutorial.ogv  (Ogg/Vorbis/Theora, used recordMyDesktop under Linux)

I'm working on some for MacOS X & Vista/XP, and will post them in the respective forum topics.

[EDIT] - Thanks e164, I had nuked the .htaccess fixing that by accident, and it is back in place now.
« Last Edit: May 17, 2008, 09:09:55 am by broquea » Logged
eonesixfour
readonly_member
Newbie
*
Posts: 49


View Profile
« Reply #2 on: May 17, 2008, 06:26:48 am »

I haven't watched yet, but it's good of you to do this for people, you might want to link this on the main website.

Also the server is sending out the mime/type as text/html and you might want to change this to something else Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!