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 18.104.22.168 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 firstname.lastname@example.org set password 12345678
NOTE: set your NordVPN username and password.
set peer-host 22.214.171.124 end set vdom root set l2forward enable set type physical end config router static edit 1 set device wan1 set dst 126.96.36.199 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 188.8.131.52 set peer-host 184.108.40.206 set dst 220.127.116.11 255.255.255.255
to any other IP from our server list.