Cannot connect more than two clients at one time on my l2tp ipsec server
Log shows this:
hostname1 xl2tpd[13140]: Connection established to XX.XXX.XXX.XXX, 10514. Local: 23741, Remote: 2876 (ref=0/0). LNS session is ‘default’
my l2tp server configs:
ipsec {
ipsec-interfaces {
interface pppoe0
}
nat-networks {
allowed-network 0.0.0.0/0 {
}
}
nat-traversal enable
}
remote-access {
authentication {
local-users {
username XXXX {
password XXXXXXXXXX
static-ip XXX.XX.XX.XX
}
username XXXX {
password XXXXXXXXXX
static-ip XXX.XX.XX.XX
}
username XXXX {
password XXXXXXXXXX
static-ip XXX.XX.XX.XX
}
username XXXX {
password XXXXXXXXXX
static-ip XXX.XX.XX.XX
}
}
mode local
}
client-ip-pool {
start XXX.XX.XX.XXX
stop 172
}
ipsec-settings {
authentication {
mode pre-shared-secret
pre-shared-secret **********
}
ike-lifetime 3600
}
outside-address XXX.XXX.XXX.XXX
}
nat rules:
show nat source
rule 5002 {
description "masqerade wan1 (pppoe) connection"
outbound-interface pppoe0
protocol all
source {
address 0.0.0.0/0
}
translation {
address masquerade
}
}
rule 5100 {
outbound-interface l2tp1
protocol all
source {
address 0.0.0.0/0
}
translation {
address masquerade
}
}
What’s wrong here?
Did i missed something?