Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    L2TP / IPSEC, limited number of users.

    Scheduled Pinned Locked Moved IPsec
    7 Posts 2 Posters 689 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • humaxoidH
      humaxoid
      last edited by

      Hello colleagues! Configured L2TP/IPSEC, but there are restrictions on the number of connections. No more 12 users at one time (or more). Does anyone Have a similar problem? If over this amount, it disables others users.But not all.

      viktor_gV 1 Reply Last reply Reply Quote 0
      • viktor_gV
        viktor_g Netgate @humaxoid
        last edited by

        @humaxoid
        Please check the Number of L2TP Users value
        see https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/l2tp-ipsec.html

        you can also post /var/etc/l2tp-vpn/mpd.conf for checking

        humaxoidH 1 Reply Last reply Reply Quote 1
        • humaxoidH
          humaxoid @viktor_g
          last edited by humaxoid

          Many thanks Viktor for you support!
          I configured it according to this instruction, the link to which you showed.
          Number of L2TP Users value = 60
          This is my mpd. conf

          startup:
          
          l2tps:
          	set ippool add p0 192.168.99.64 192.168.99.123
          
          	create bundle template l2tp_b
          	set bundle enable compression
          	set bundle yes crypt-reqd
          
          	set ccp yes mppc
          
          	set iface name l2tp
          	set iface group l2tp
          	set iface up-script /usr/local/sbin/vpn-linkup-l2tp
          	set iface down-script /usr/local/sbin/vpn-linkdown-l2tp
          	set iface disable on-demand
          	set iface enable proxy-arp
          
          	set ipcp yes vjcomp
          	set ipcp ranges 192.168.99.20/32 ippool p0
          	set ipcp dns 77.88.8.88 77.88.8.2
          
          	create link template l2tp_l l2tp
          	set link action bundle l2tp_b
          
          	set link yes acfcomp protocomp
          	set link enable multilink
          	set link no pap chap chap-msv2
          	set link enable chap-msv2
          	set l2tp self XX.XXX.XX.XXX
          	set link keep-alive 10 180
          	set link enable incoming
          
          viktor_gV 1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate @humaxoid
            last edited by

            @humaxoid The issue is still present?
            How many users can work simultaneously now?

            humaxoidH 1 Reply Last reply Reply Quote 0
            • humaxoidH
              humaxoid @viktor_g
              last edited by

              @viktor_g
              Differently. Usually 12-18 users. If a new user is connected, the other users are drops. But not all of them.

              viktor_gV 1 Reply Last reply Reply Quote 0
              • viktor_gV
                viktor_g Netgate @humaxoid
                last edited by

                @humaxoid Need more information
                Can you attach L2TP service log?

                humaxoidH 1 Reply Last reply Reply Quote 0
                • humaxoidH
                  humaxoid @viktor_g
                  last edited by humaxoid

                  @viktor_g L2TP Log file is attached l2tp.txt
                  I think it depends on the load on the channel, but not on the number of connections. At the now moment, 21 users are connected.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.