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

    PFSense doesn't route more than one OpenVPN user

    Scheduled Pinned Locked Moved OpenVPN
    openvpnpfsenseroutingfirewall rules
    21 Posts 3 Posters 2.4k 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by

      Post a Client Log device A (working) and device B (not working).

      -Rico

      S 1 Reply Last reply Reply Quote 0
      • S
        Stefan-Cplanet @Rico
        last edited by

        @Rico I am not really sure how to get actual client logs, I got logs from OpenVPN and firewall. In this case, user lor... is user no1 with ip of .2 and user ste.. with IP of .3
        I connected both and attempted traffic so that you can see.
        fw3.png
        fw2.png
        fw1.png

        and open vpn:
        openvpn.png

        Do you see anything wrong? Thanks

        1 Reply Last reply Reply Quote 0
        • S
          Stefan-Cplanet
          last edited by Stefan-Cplanet

          @Rico I got the client logs aswell:
          not working: cryptobin.co/i741w6y4
          working: cryptobin.co/9032o7y4

          Do you see anything wrong? Thanks

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Stefan-Cplanet
            last edited by

            @Stefan-Cplanet said in PFSense doesn't route more than one OpenVPN user:

            not working: cryptobin.co/i741w6y4

            It's the client that initiates the disconnect.
            But why ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            S 1 Reply Last reply Reply Quote 0
            • S
              Stefan-Cplanet @Gertjan
              last edited by

              @Gertjan
              I did the disconnect, I connected them both and then ones the connection couldn't be established I disconnected.

              You see any other issue? Thanks

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @Stefan-Cplanet
                last edited by

                @Stefan-Cplanet said in PFSense doesn't route more than one OpenVPN user:

                I did the disconnect, I connected them both and then ones the connection couldn't be established I disconnected.

                The one that doesn't work is MAC / iPad / iPad based ?
                Rather old build, october 2019 .... Is it OpenVPN 2.4.x compatible ?

                What about using another OpenVPN client ?

                I'm using a OpenVPN app on my iPhone, using the mar 5, 2020. Works fine.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                S 1 Reply Last reply Reply Quote 0
                • S
                  Stefan-Cplanet @Gertjan
                  last edited by

                  @Gertjan The APP's is newest version on MAC, but that is not the issue, the second device doesn't work on any device. ( Tested MacOS Catalina, IpadOS13.4, Windows10, Kubuntu, DeepinOS ). IT does, however, work as a 1st device on any of them

                  1 Reply Last reply Reply Quote 0
                  • S
                    Stefan-Cplanet
                    last edited by

                    @Gertjan @Rico SOLVED
                    What worked is very strange, but changing 2 things

                    1. Hardware Crypto I changed from no Hardware Crypto acceleration to Intel one
                    2. I checked Type-of-Service checkbox,

                    aaand it WORKS.

                    however, there are some performance issues with RDP servers, speed can be counted in seconds for the frame instead of frames per second even with CPU usage staying on 5% and Memory usage on 3%. Is there anything I can do to dedicate more performance to OpenVPN?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Stefan-Cplanet @Stefan-Cplanet
                      last edited by

                      @Stefan-Cplanet said in PFSense doesn't route more than one OpenVPN user:

                      @Gertjan @Rico SOLVED
                      What worked is very strange, but changing 2 things

                      1. Hardware Crypto I changed from no Hardware Crypto acceleration to Intel one
                      2. I checked Type-of-Service checkbox,

                      aaand it WORKS.

                      however, there are some performance issues with RDP servers, speed can be counted in seconds for the frame instead of frames per second even with CPU usage staying on 5% and Memory usage on 3%. Is there anything I can do to dedicate more performance to OpenVPN?

                      @Rico @Gertjan Nope, rebooting the PFSense reverted to the same issue. At this point I think its software issue rather than configuration one.

                      1 Reply Last reply Reply Quote 0
                      • RicoR
                        Rico LAYER 8 Rebel Alliance
                        last edited by

                        Can you try to hand out fixed IPs out of your OpenVPN tunnel net and check if this would make any difference?
                        VPN > OpenVPN > Client Specific Overrides
                        Common Name: Add the User Cert Name
                        IPv4 Tunnel Network: 192.168.90.11/24 for your first User, 192.168.90.12/24 for your second User and so on.
                        Leave all the other boxes blank, reconnect both Clients, check if the correct fixed IP gets assigned and check the connectivity.

                        -Rico

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Stefan-Cplanet @Rico
                          last edited by

                          @Rico sadly doesn't seem to solve the issue.

                          I deployed the OpenVPN on ubuntu behind the firewall and forwarded the port, now I got it working.
                          I am not sure why it's not working, to be honest, but the fact that it worked for a while and that its very slow without using any resources makes me believe something is unstable there, possibly with how my hosting solution manages VM's.

                          Anyway thank you for all the help.

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