6in4 over PPTP between Vigor routers

6in4 tunnel is a simple transition mechanism which allows IPv6 clients to transmit packets with another IPv6 network over IPv4 backbone. The IPv4 address must be configured manually on both endpoints. This document will demonstrate how to establish 6in4 over PPTP between Draytek Routers.

VPN Server (Dial-In) Setup

  1. Go to VPN and Remote Access >> LAN to LAN on Dial-In site router, edit a profile as follow:
    1. Check Enable this profile and enter Profile Name.
    2. Select Call Direction to “Dial-In”.
    3. Enter Username and Password in Dial-In Settings.
    4. In TCP/IP Network Settings, enter Remote Network IP as the LAN network of the peer router.
  2. Setup 6in4 Settings:
    1. Check Enable 6in4 over PPTP.
    2. Choose LAN Interface of Local Network in TCP/IP Network Settings.
    3. Setup Remote LAN IP as the LAN IP of the peer router.
    4. Setup LAN IPv6 Prefix and Remote IPv6 Prefix.
      Here, we setup local IPv6 prefix as 193:: /64 and remote IPv6 prefix as 194:: /64 for example.

VPN Client (Dial-Out) Setup

  1. Go to VPN and Remote Access >> LAN to LAN on Dial-Out site router, edit a profile as follow:
    1. Check Enable this profile and enter Profile Name.
    2. Select Call Direction to “Dial-Out”.
    3. Select PPTP in the Dial-Out Settings.
    4. Enter Server IP as the WAN IP of the peer router.
    5. Enter Username and Password as same as the one we set on the peer router.
    6. In TCP/IP Network Settings, enter Remote Network IP as the LAN network of the peer router.
  2. Setup 6in4 Settings:
    1. Check Enable 6in4 over PPTP.
    2. Choose LAN Interface of Local Network in TCP/IP Network Settings.
    3. Setup Remote LAN IP as the LAN IP of the peer router.
    4. Setup LAN IPv6 Prefix and Remote IPv6 Prefix.
      Here, we setup local IPv6 prefix as 194:: /64 and remote IPv6 prefix as 193:: /64 accordingly.
  3. Go to VPN and Remote Access >> Connection Management to dial the VPN and check the VPN connectivity.
  4. Go to Diagnostic >> Routing Table and check if LAN Routing (193:: /64 via LAN1) and Remote Routing (194:: /64 via VPN1) are displayed in IPv6 Routing Table.
  5. Assign Static IP to LAN client under Server site and Client site.
    We can manually setup 193::1 /64 for a LAN PC on Server site and 194::1 /64 for a LAN PC on Client site.
  6. Then we should be able to ping 194::1 from 193::1 via the VPN tunnel.

Published On:2022-01-26 

Was this helpful?