• OpenVPN with 2 clients results in disconnect for both

    8
    0 Votes
    8 Posts
    1k Views
    L

    @noplan said in OpenVPN with 2 clients results in disconnect for both:

    b2940529-119b-459d-b1f8-00194735d382-grafik.png

    blank is 1 connection
    set it to n+1 eg --> 2 users results in 3

    safed me some troubels

    what I found out quickly that only my Windows clients gets disconnected while the Android client still works. very strange. Maybe I need to reinstall my Windows OpenVPN client. But I currently don't have access to this machine.

  • Best Practice: Remote Access to CARP Firewall

    4
    0 Votes
    4 Posts
    574 Views
    junicastJ

    @viragomann
    Thank you very much.
    What do you think about IPv6? Is also NAT best practice?

  • Pfsense OpenVPN reporting

    1
    0 Votes
    1 Posts
    302 Views
    No one has replied
  • OpenVPN is not working with some users

    13
    0 Votes
    13 Posts
    869 Views
    Y

    Hi guys, I talkied with the ISP of this users and they confirm that the configuration changed and they are having this type of problems, we have to wait for them to fix it, thanks a lot for your help.

  • Openvpn and firewall for user

    14
    0 Votes
    14 Posts
    1k Views
    johnpozJ

    Huh? Yes you would need to assign IPs to your different vpn clients. You can either do multiple rules or use an alias to have multiple IPs in your rules..

  • Multiple pfsense OpenVPN connectons

    4
    0 Votes
    4 Posts
    459 Views
    E

    @Rico thank you very much for a swift and supportive reply.

    I was concerned than there were hidden issues or something.

    more complex question, do vlan ID's transit the VPN?

  • Passing public ips to my openvpn client

    1
    0 Votes
    1 Posts
    120 Views
    No one has replied
  • fq_CoDel with OpenVpn client

    2
    0 Votes
    2 Posts
    307 Views
    A

    Anybody? I have seen quite a few posts on reddit regarding this issue with no resolution.

  • OpenVPN remote client unable to access local LAN

    3
    0 Votes
    3 Posts
    343 Views
    W

    I don't know why but it seems all I had to do was switch it off and on again, everything now seems accessible. Thanks for looking viragomann.

  • List connected OpenVPN Users like Status / Openvpn from a shell script

    3
    0 Votes
    3 Posts
    2k Views
    GertjanG

    @mleone87 said in List connected OpenVPN Users like Status / Openvpn from a shell script:

    Status / Open page

    You mean the Status / OpenVPN ? Or the OpenVPN widget ?
    The page Status / OpenVPN - which is a PHP script file, contains the answer.
    You will find on line 54 :

    ... $clients = openvpn_get_active_clients(); ....

    When you check that function, it's here /etc/inc/openvp,n.php, you will see that the GUI (php) is questioning the openvpn process by connecting to it's socket, and sending command a get a list with all the details.

    Check for yourself :
    Find the socket name of your OpenVPN server instance, it's here /var/etc/openvpn/. There will be a one or more files called serverx.sock where x is the OpenVPN server instance.
    Now, presume you have only one instance, so x is "1"

    telnet -u /var/etc/openvpn/server1.sock

    and type the command

    state

    On each line you have the details of a connected user. Pipe this rsult through a "wc -l" command to get the number of lines = number of connected users.

    Type quit to exit the connection.

    Use the OpenVPN manual to know how to talk to the OpenVPN process.

    Up to you to script it all out.
    You can use the Status / OpenVPN php file and OpenVPN widget php file as a guide line.

  • Port Forwarding over OpenVPN Issue

    1
    0 Votes
    1 Posts
    114 Views
    No one has replied
  • Echo Reply (ICMP) necessary for OpenVPN client to work?

    18
    0 Votes
    18 Posts
    2k Views
    W

    @Rico thanks mate! will try this.

  • in the source of rules not see the uservpn

    1
    0 Votes
    1 Posts
    138 Views
    No one has replied
  • OVPN instances not showing on Dashboard ?

    1
    0 Votes
    1 Posts
    130 Views
    No one has replied
  • How to distribute connections between two wan-ip interfaces

    32
    0 Votes
    32 Posts
    3k Views
    W

    @dotdash According to your answer, using HAProxy would not be the best option for my scenario, as stated, I would have to use TCP on HAProxy and submit myself to reduce the performance of my clients, and that is not what I want to apply.

  • [SOLVED][2.4.5]OpenVPN\Certificate Creation SSL Errors

    27
    0 Votes
    27 Posts
    820 Views
    johnpozJ

    The only problem with such a solution - is the actual root cause remains a mystery :(

  • OpenVPN client connecting from unusual port number

    14
    0 Votes
    14 Posts
    2k Views
    RicoR

    The easy way is check your Routers WAN IP and compare with a site like whatismyipaddress.com
    If the IP is different you are using CGN.
    With the Router WAN IP RFC1918 you don't need to check any further of course, then it is 1000% CGN. 😂

    -Rico

  • Bypass geo blocking by ASN

    1
    0 Votes
    1 Posts
    356 Views
    No one has replied
  • VPN for specific SSID

    5
    0 Votes
    5 Posts
    824 Views
    T

    @johnpoz I went ahead and copied over the outbound nat rules I had setup for my earlier PIA interface (where I had setup IP address based VPN routing for my other subnet). I made the necessary changes related to the Interface (VLAN interface instead of PIA interface) and subnet change to 192.168.2.0 instead of 192.168.1.0.

    I am still not able to connect to the internet.

    Btw, I understand that an unmanaged switch is not the correct approach, but for now this is all I have handy. I will go down the path of using managed switches in the near future.

  • OpenVPN TAP Issues

    7
    0 Votes
    7 Posts
    672 Views
    C

    I'll give it a shot. I was actually playing around with using a TUN network this morning and figured out how I can assign the same NAT'ed subnet to the TUN OpenVPN network, so I MIGHT have gotten it to work without messing with TAP at all. Fingers crossed.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.