I'm using tb_userspace provided by tb-tun to use HE.net's tunnelbroker service in an openvz vps, but all references and how-tos are telling me to do something like:
setsid /path/to/tb_userspace ipv6 SERVER.ADDRESS
I do have this running correctly if I run it in a shell myself, and then bring the interface up and set correct route using
ifconfig ipv6 up ifconfig ipv6 inet6 add CLIENT.IP/64 ifconfig ipv6 mtu 1480 route -A inet6 add ::/0 dev ipv6
But when I put all of this into /etc/rc.local, strange thing happen: All commands after tb_userspace are ignored and not executed, but the tb_userspace does run correctly. So I have to run the other four commands manually every time after a reboot.
Any suggestion on this? Many thanks.