Remember, this is beta. 
Right, and we help you to test it
Does anyone have a working pptp config for linux (or even better for debian) they can paste?
The reason I ask is the pptp tunnel is up and passing packets back and forth, but on the tunnel page it always reports the tunnel is down.
The pptp tunnel itself works, here is how I did this using Ubuntu Linux (should work with debian the same way):
apt-get install pptp-linux binutils
pptpsetup --create tunnelbroker --server tserv6.fra1.ipv6.he.net --username 'USER%99999' --password foobar99999
# --encrypt does not work yet
pon tunnelbroker
The tunnel appears as interface 'ppp1' here, since ppp0 is already taken from my internet uplink.
Optional: Adjust firewalling. I am using shorewall and shorewall6.
/etc/shorewall/interfaces
net ppp0 -
net ppp1 - # <-------- this line had to be added
loc eth0 detect tcpflags,nosmurfs,routefilter,logmartians
/etc/shorewall/tunnels
pptpclient net 216.66.80.30 # tserv6.fra1.ipv6.he.net
/etc/shorewall/shorewall.conf
DISABLE_IPV6=No # could also work with =Yes, please try afterwards.
That's it for the PPTP part. You can enable the tunnel with "pon tunnelbroker", disable it with "poff tunnelbroker" and read the logs by "plog".
You can put the defaultroute on the tunnel, if you set a direct route to your PPTP tunnel endpoint.
The local PPTP tunnel endpoint is not yet autoconfigured. Therefore you need to place two scripts in /etc/ppp/ip-{up,down}.d/ in order to configure your IPv6 tunnel.
But this only works if the PPTP tunnel endpoint and the IPv6-Tunnel-server-endpoint-IPv4 are not the same!I got it running! The trick is to use two different tunnels, the PPTP tunnel to Frankfurt and the IPv6-Tunnel to Amsterdam for example.
My setup continues like this:
/etc/ppp/ip-up.d/he-ipv6-tunnel
#!/bin/sh
if [ $PPP_IPPARAM != 'tunnelbroker' ]; then
# echo "This script shall only be used for the tunnelbroker PPTP tunnel!"
exit;
fi
# ---------- change the IPv4 tunnel endpoint to the IP of the local PPTP IPv4 adress ----------
USERID="b74fb74fb74fb74fb74fb74fb74fb74fb74f" # your UserID (not your account name!)
MD5PASS="abcdabcdabcdabcdabcdabcdabcdabcd" # your password as MD5, create with: echo -n 'yourpassword' | md5sum
GTUNID="99999" # your global tunnel ID
/usr/bin/wget --no-check-certificate -q -O - https://ipv4.tunnelbroker.net/ipv4_end.php\?ipv4b=$IPLOCAL\&pass=$MD5PASS\&user_id=$USERID\&tunnel_id=$GTUNID
# for debugging purposes, you may add: >> /tmp/debug-he-ipv6-tunnel
# if no debugging is needed, you may change '-O -' to '-O /dev/null'
# --------- enable Tunnel ---------
SERVER_IPv4_ENDPOINT=216.66.80.30
CLIENT_IPv6_ENDPOINT=2001:470:1f0a:9999::2/64
# add a route to the $SERVER_IPv4_ENDPOINT through the PPTP tunnel...
route add $SERVER_IPv4_ENDPOINT dev $PPP_IFACE
# should be changed to "ip route add..."
#modprobe ipv6
ip tunnel add he-ipv6 mode sit remote $SERVER_IPv4_ENDPOINT local $IPLOCAL dev $PPP_IFACE ttl 255
ip link set he-ipv6 up
ip addr add $CLIENT_IPv6_ENDPOINT dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
and for shutting down the tunnel:
/etc/ppp/ip-down.d/he-ipv6-tunnel
#!/bin/sh
if [ $PPP_IPPARAM != 'tunnelbroker' ]; then
# echo "This script shall only be used for the tunnelbroker PPTP tunnel!"
exit;
fi
#disable tunnel
ip route del ::/0 dev he-ipv6
ip tunnel del he-ipv6
# Still to be done here: clean up the zombie route to the PPTP tunnel server
The rest can be done like described here:
http://www.tunnelbroker.net/forums/index.php?topic=941.0Now, we only need to get a different IPv4 address for PPTP and IPv6 tunnel server at each POP and it should work without tricks.