Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Multiple IPv6 tunnels setup on single VPS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Multiple IPv6 tunnels setup on single VPS

Hello

Anyone know how to setup multiple IPv6 tunnels on single VPS or maybe link for tutorial ?

so i want to make IPv6 tunnel from virmach kvm vps (colocrossing ofc) with 3 Free Tunnel, he.net , tunnelbroker.ch (securebit) and netassist

I found and followed from this website https://bart.jakubowski.in/multiple-ipv6-tunnels-on-one-machine/

But when try add second IPv6 in some interface it was not working, so it is only working 1 IPv6 address each interfaces

Comments

  • You also need to conf the default route, where the next hop, and set it up just like a multi-gateway server.

  • Please visit google

  • lebuserlebuser Member
    edited November 2021

    If you need to use a specific IPv6 prefix with each tunnel, then you need to make sure that the correct tunnel is used for each prefix. It is done with source address dependent routing (SADR), and it is configured with the "from" parameter to the ip route command in Linux.

    ip route add default from XXXX:...:/48 ...
    
    Thanked by 1add_iT
  • @lebuser said:
    If you need to use a specific IPv6 prefix with each tunnel, then you need to make sure that the correct tunnel is used for each prefix. It is done with source address dependent routing (SADR), and it is configured with the "from" parameter to the ip route command in Linux.

    ip route add default from XXXX:...:/48 ...

    thanks i appreciate your worth reply

    So which part from this tutorial https://bart.jakubowski.in/multiple-ipv6-tunnels-on-one-machine/ is wrong ??

  • @add_iT said:

    So which part from this tutorial https://bart.jakubowski.in/multiple-ipv6-tunnels-on-one-machine/ is wrong ??

    The tutorial uses policy based routing (with ip rule) which should also work since it selects the routing table based on the source address. But the routed prefix should be included in the ip rule if you want to use more than one address, which isn't the case.

    I.e. for example also add for ipv6-he

    up ip -6 rule add from 2001:470:1234:00ff::/64 table ipv6-he
    

    But the addresses used in the tutorial are confusing since the Client and Server IPv6 address should be in a separate prefix not within the routed prefix.

Sign In or Register to comment.