This tutorial was made by our user Mike (thanks Mike!) on a Fortigate 60E router running FortiOS 5.4.1
Please note, that L2TP alone does not encrypt your traffic, it only reroutes you through one of our servers. Please use it at your own risk. This does not apply to L2TP/IPsec.
In order to setup L2TP on Fortigate router you will have to perform the following commands in your routers CLI Console which can be accessed as shown here.
Once the CLI is accessed you will have to perform the following commands:
config system link-monitor
NOTE: ‘link-monitor’ replaces ‘gwdetect’ in FortiOS v5.2+
edit "NordVPN" set srcint wan1 set server 220.127.116.11 set protocol ping set gateway-ip xxx.xxx.xxx.xxx
NOTE: Put the IP address of your WAN interface instead of xxx.xxx.xxx.xxx
set status enable end config system interface edit wan1 set l2tp-client enable config l2tp-client-settings set defaultgw enable set user email@example.com set password 12345678
NOTE: set your NordVPN username and password.
set peer-host 18.104.22.168 end set vdom root set l2forward enable set type physical end config router static edit 1 set device wan1 set dst 22.214.171.124 255.255.255.255 set priority 10 next end
Then reboot the Fortigate and it should be connected to our service.
If you want to connect to a different server just change the IP address in these lines:
set server 126.96.36.199 set peer-host 188.8.131.52 set dst 184.108.40.206 255.255.255.255
to any other IP from our server list.