Ik ben al een uur of 4 bezig om L2TP/IPsec werkend te krijgen, ik heb de volgende handleiding gevolgd:
https://help.ubnt.com/hc/en-us/articles/204950294
Volgende uitgevoerd:
set firewall name WAN_LOCAL rule 30 action accept
set firewall name WAN_LOCAL rule 30 description ike
set firewall name WAN_LOCAL rule 30 destination port 500
set firewall name WAN_LOCAL rule 30 log disable
set firewall name WAN_LOCAL rule 30 protocol udp
set firewall name WAN_LOCAL rule 40 action accept
set firewall name WAN_LOCAL rule 40 description esp
set firewall name WAN_LOCAL rule 40 log disable
set firewall name WAN_LOCAL rule 40 protocol esp
set firewall name WAN_LOCAL rule 50 action accept
set firewall name WAN_LOCAL rule 50 description nat-t
set firewall name WAN_LOCAL rule 50 destination port 4500
set firewall name WAN_LOCAL rule 50 log disable
set firewall name WAN_LOCAL rule 50 protocol udp
set firewall name WAN_LOCAL rule 60 action accept
set firewall name WAN_LOCAL rule 60 description l2tp
set firewall name WAN_LOCAL rule 60 destination port 1701
set firewall name WAN_LOCAL rule 60 ipsec match-ipsec
set firewall name WAN_LOCAL rule 60 log disable
set firewall name WAN_LOCAL rule 60 protocol udp
Hierna drop invalid state weer als laatste gezet bij WAN_LOCAL.
set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret
set vpn l2tp remote-access ipsec-settings authentication pre-shared-secret mijnsecret
set vpn l2tp remote-access authentication mode local
set vpn l2tp remote-access authentication local-users username mijngebruiker password mijnwachtwoord
set vpn l2tp remote-access client-ip-pool start 192.168.x.x
set vpn l2tp remote-access client-ip-pool stop 192.168.x.x
set vpn l2tp remote-access dns-servers server-1 8.8.8.8
set vpn l2tp remote-access dns-servers server-2 8.8.4.4
set vpn l2tp remote-access dhcp-interface eth3.34
set vpn ipsec ipsec-interfaces interface eth3.34
Hierna geen werkende oplossing.
Hierna deze zaken nog toegevoegd aangezien ik deze binnen anderen voorbeelden ook zie.
set vpn ipsec nat-traversal enable
set vpn ipsec auto-firewall-nat-exclude enable (disabled ook geprobeerd)
set vpn l2tp remote-access mtu 1492
set vpn ipsec nat-networks allowed-network 0.0.0.0/0 (schijnt sinds een bepaalde firmware versie niet meer te hoeven)
set vpn ipsec disable-uniqreqids
Dit lost het probleem ook nog niet op.
In de Logging zie ik wel dat er geprobeerd wordt connectie te maken:
xl2tpd[6463]: death_handler: Fatal signal 15 received
xl2tpd[10606]: setsockopt recvref[30]: Protocol not available
show vpn ipsec sa
(unnamed): #1, CONNECTING, IKEv1, 0f7e9351a9e5de78:6f524d0a7ead20ad
local '%any' @ ip
remote '%any' @ ip
AES_CBC-256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048
passive: ISAKMP_VENDOR MAIN_MODE
Iemand een idee?