This tutorial will help you connect to Fortigate 60E router running FortiOS 5.4.1 using L2TP protocol
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 "LimeVPN"
set srcint wan1
set server 128.199.186.214
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 name@domain.com
set password 12345678
NOTE: set your LimeVPN username and password.
set peer-host 128.199.186.214
end
set vdom root
set l2forward enable
set type physical
end
config router static
edit 1
set device wan1
set dst 128.199.186.214 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 45.63.67.4 set peer-host 45.63.67.4
set dst 45.63.67.4 255.255.255.255
List of all the servers can be found here. You can use https://whatismyipaddress.com/hostname-ip to find the IP address of the server/hostname