Chapter 11 IPsec VPN for FortiOS 5.0 : IPv6 Configuration : IPv6 IPsec VPN : Configuring IPv6 IPsec VPNs : Routing
  
Routing
Appropriate routing is needed for both the IPsec packets and the encapsulated traffic within them. You need a route, which could be the default route, to the remote VPN gateway via the appropriate interface. You also need a route to the remote protected network via the IPsec interface.
To create a static route in the web-based manager:
1. Go to Router > Static > Static Routes.
On some desktop FortiGate models, go to System > Network > Routing.
2. Select the drop-down arrow on the Create New button and select IPv6 Route.
3. Enter the information and select OK.
In the CLI, use the router static6 command. For example, where the remote network is fec0:0000:0000:0004::/64 and the IPsec interface is toB:
config router static6
edit 1
set device port2
set dst 0::/0
next
edit 2
set device toB
set dst fec0:0000:0000:0004::/64
next
end
If the VPN is IPV4 over IPv6, the route to the remote protected network is an IPv4 route. If the VPN is IPv6 over IPv4, the route to the remote VPN gateway is an IPv4 route.