This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure | |
set vpn ipsec ipsec-interfaces interface eth0 # your WAN interface | |
set vpn ipsec auto-firewall-nat-exclude enable | |
set vpn ipsec nat-networks allowed-network 0.0.0.0/0 # check that's OK before you set it | |
set vpn l2tp remote-access authentication mode local | |
set vpn l2tp remote-access authentication local-users username <user> password <password> | |
set vpn l2tp remote-access client-ip-pool start <starting IP> | |
set vpn l2tp remote-access client-ip-pool stop <end IP> | |
set vpn l2tp remote-access dns-servers server-1 <DNS server IP> | |
set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret |