Re: HOWTO: Join the 6bone!
On Sep 20, Jason Gunthorpe <jgg@ualberta.ca> wrote:
>As I said in my message linux does not support 6to4. All that is required
>is you setup a default route (that is not 0::0 :|), enable IP forwarding
>for IPv6 and bring up sit0 - in addition to any other configuration you
>have for the downstream tunnel.
Looks like this has great abuse potential, all non-firewalled IPv6
hosts using NMBA tunnels can be used as 6to4 gateway.
BTW, I wrote some scripts for dialup hosts:
/etc/ppp/ip-up.d/6to4:
#!/bin/bash -e
REMOTE="216.234.231.5"
LOCAL4=$PPP_LOCAL
LOCAL6=$(printf "%02x%02x:%02x%02x\n" $(echo $LOCAL4 | sed -e 's/\./ /g'))
LOCAL6="2002:$LOCAL6::1/48"
ip link set sit0 up
ip addr add $LOCAL6 dev sit0
ip route add 2000::/3 via ::$REMOTE
/etc/ppp/ip-down.d/6to4:
#!/bin/sh -e
ip link set sit0 down
ip route del 2000::/3 # needed?
--
ciao,
Marco
Reply to: