I cant get my l2tp server to work I get the following log when i try to connect, it doesnt matter what password or login i use.
Code: Select all
ipsec,debug couldn't find configuration.
/interface l2tp-server server
Code: Select all
enabled: yes
max-mtu: 1450
max-mru: 1450
mrru: disabled
authentication: mschap2
keepalive-timeout: 30
default-profile: L2TP-In
use-ipsec: yes
ipsec-secret: ******
Code: Select all
0 username l2tp **** L2TP-In
Code: Select all
1 name="L2TP-In" local-address=192.168.0.1 remote-address=vpn-pool
use-mpls=default use-compression=default use-vj-compression=default
use-encryption=required only-one=default change-tcp-mss=default
address-list="" dns-server=192.168.0.33
Code: Select all
0 * name="default" auth-algorithms=sha1
enc-algorithms=3des,aes-128-cbc,aes-256-cbc lifetime=30m pfs-group=none
Code: Select all
1 D address=0.0.0.0/0 local-address=0.0.0.0 passive=yes port=500
auth-method=pre-shared-key secret="****"
generate-policy=port-strict policy-group=default
exchange-mode=main-l2tp send-initial-contact=yes nat-traversal=yes
hash-algorithm=sha1 enc-algorithm=3des,aes-128,aes-192,aes-256
dh-group=modp1024 lifetime=1d dpd-interval=2m dpd-maximum-failures=5
/ip firewall filter
Code: Select all
chain=input action=accept protocol=udp in-interface=ether1-gateway
dst-port=1701 log=no log-prefix=""
2 chain=input action=accept protocol=udp in-interface=ether1-gateway
dst-port=4500 log=no log-prefix=""
3 chain=input action=accept protocol=ipsec-esp in-interface=ether1-gateway
log=no log-prefix=""
4 chain=input action=accept protocol=udp in-interface=ether1-gateway
dst-port=500 log=no log-prefix=""
I have a site2site vpn with ipsec up, maybe this is the problem.
I think I have posted all the config you need. I log the following ppp, l2tp and ipsec,!packet