Page MenuHomeVyOS Platform

Vpn l2tp ipsec
Closed, InvalidPublic

Description

Cannot connect more than one client at a time.
Is it a limitation, or i just missed something?

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
    }
}

Details

Difficulty level
Easy (less than an hour)
Why the issue appeared?
Other

Event Timeline

syncer added a subscriber: syncer.

Invalid configuration