• Scaling OpenVPN (and VPNs in general)

    Pinned
    12
    5 Votes
    12 Posts
    25k Views
    M
    I have discovered that OpenVPN implementation in PFsense is slow even without ciphering data, look at my post: link text
  • OpenVPN Documentation

    Pinned Locked
    1
    0 Votes
    1 Posts
    39k Views
    No one has replied
  • pfSense OpenVPN to RADIUS accounting (Acct-Start/Stop) never sent

    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • OpenVPN Routing issue

    2
    3
    0 Votes
    2 Posts
    95 Views
    C
    Found the issue. It was related to the certificates and certificate authority. We recreated the authority certificate and then the server certificate and then the user certificate and used the new certificates, and everything started working.
  • site to multi site vpn bug

    4
    0 Votes
    4 Posts
    121 Views
    N
    @techpro2004 Obviously, some description of the configuration is also needed. Screenshots of the setup maybe? Hub and spoke?
  • Cant force kill client

    3
    1
    0 Votes
    3 Posts
    84 Views
    M
    for me, client is NOT disconnected. When I click nothing at all happens, logs are empty action is NOT taken at all.
  • Can't get OpenVPN speeds over 20-30mbps

    8
    0 Votes
    8 Posts
    329 Views
    JonathanLeeJ
    @CubedRoot please look into the advanced option mssfix on openvpn some ciphers require adjustments for example I use aes-256-CBC because it can be off-boarded to my safexcel accelerator, and there is no lag for video calls at home etc when off boarding is utilized, for my DSL line [I am old school] I needed to add mssfix 1300; However, this is specific to my set up in many community technical threads addressing mtu path discovery and encryption encapsulation errors mssfix is frequently appended alongside data ciphers aes-256-cbc, you can also customize your MTU for your vpn interface that is often adjusted also.
  • Port 443?

    11
    0 Votes
    11 Posts
    527 Views
    JKnottJ
    @johnpoz I only use a VPN occasionally these days, but I used to do a lot of travelling for my work. I ran my own mail server then and used a VPN to access it. This was before smart phones became popular and my cell phone could only do SMS. This was so far back I was using CIPE for the VPN. It was also when I discovered that using the popular subnets at home was a bad idea because I'd run into conflicts between my home network and the one at the hotel I was staying at. I didn't have a problem with the WiFi at the hotels I was staying at, other than one place that had some problem that had nothing to do with a VPN. I've only come across blocked VPN at the local library and community centres. A popular donut/coffee shop has no problem with VPNs. I also have the employee WiFi password, as I did some work at some locations for that chain several years ago. This allows me to bypass all the ads, etc. that you'd normally get on their network. I haven't tried a VPN with the customer WiFi access though.
  • OpenVPN Can't Connect?

    2
    0 Votes
    2 Posts
    185 Views
    GertjanG
    @MichaelCropper said in OpenVPN Can't Connect?: Issue - Times out. That's the message you see with the Client VPN app. On the pfSense side of things, you can check easily if the traffic initiated by the phone arrives at the WAN 'gate' (NIC) of pfSense : Remember the firewall rule ? Here : [image: 1785159983603-7432cbc1-f04b-4ec1-8041-a7696f2a7286-image.png] You the "States" (marked green) : if it stays on 0/0 then you have a solid proof nothing arrives at the WAN pfSense interface. Edit : My 'Source' is "pfB_Europe_v4" which is a "allowed IP list". Which means I can only connect when I'm 'in Europe'. Normally, you should the Source to '*' = everybody. When you connect with your phone, and the States change (go up), then look at the VPN Logs : Here / this is what you should see : [image: 1785160098784-00504ebc-0f15-4fb5-94b1-a0a749a3a118-image.png] == clean : no errors, no warnings.
  • OpenVPN Site to Site: Route traffic from server's LAN via client's Internet

    31
    1 Votes
    31 Posts
    3k Views
    A
    @viragomann Ok, so what you pointed out was why I was getting the .0 in the iroutes. Thank you for catching that! BTW, I was finally able to get my /30 configuration to work. I was getting this error: Options error: --client-to-client requires --mode server This caused me to assume I needed to add the --mode server to my configuration and that just caused me to dig a deeper hole. In fact, the issues was that I should NOT have enabled the flag below for /30 networks, which of course makes sense now. [image: 1784831730186-b51aee98-9732-4d5d-886b-2e365fd9097a-image.png]
  • 0 Votes
    2 Posts
    178 Views
    T
    Never mind. It was a bad software installation. Once the 3.8.0 being removed and the 3.9.0 being installed, the problem was gone. 3.8.0 on another station is working fine too. Thanks.
  • Yealink T46u to pfSense OpenVPN

    1
    0 Votes
    1 Posts
    237 Views
    No one has replied
  • OpenVPN reconnect storm: UNDEF clients and UDP socket drops

    11
    0 Votes
    11 Posts
    4k Views
    P
    Does anyone have any other ideas what it could be?
  • OpenVPN Radius Authentication Broke on upgrade to 26.03.01

    2
    0 Votes
    2 Posts
    1k Views
    P
    Pretty sure this is just the log message failing. /etc/inc/util.inc 26.03.01 Code function cisco_extract_index($prule) { $index = explode("#", $prule); if (is_numeric($index[1])) { return intval($index[1]); } else { logger(LOG_WARNING, localize_text("Error parsing RADIUS attribute - rule %s %s: Could not extract index", $prule)); } return -1;; } In my older version before localize_text was introduced i was getting an error but Openvpn would continue on as the Cisco radius attributes are not needed for openvpn authentication. Error parsing rule shell:priv-lvl: Could not extract index /etc/inc/util.inc 25.11 Code function cisco_extract_index($prule) { $index = explode("#", $prule); if (is_numeric($index[1])) { return intval($index[1]); } else { syslog(LOG_WARNING, "Error parsing rule {$prule}: Could not extract index"); } return -1;; } However in 26.03.01 it's crashing at the log message due to too many placeholders, $prule for me is just a string "shell:priv-lvl"
  • OpenVPN clients list is empty

    8
    0 Votes
    8 Posts
    3k Views
    stephenw10S
    Oh I see. Yes, that's actually quite a common misunderstanding. Clients for servers are not configured there as you found. I should have spotted that.
  • Issues with VPN routing and Failover Gateways

    openvpn routing
    3
    0 Votes
    3 Posts
    2k Views
    stephenw10S
    Yes that is the expected behaviour if you policy route traffic. You would normally need a rule passing traffic to the VPN subnet before that without a gateway set to avoid it. The only other thing that might have come into play is the 'negate' rule. That is intended to allow that traffic for VPN subnets specifically and should be enabled by default. https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#disable-negate-rules
  • OpenVPN client IPs see each other

    13
    0 Votes
    13 Posts
    5k Views
    S
    I plan to generate aliases and fw-rules via pfsensible ... at first I asked the customer to set fix tunnel IPs via CSOs and then give me a list of "tunnel-IP; target VM IP". From that I will try to write some playbook. There are also VMs with more than only RDP: postgres-DBs etc ... so that adds up to more complexity. AND customers with multiple tunnels. The fun has no end ;-)
  • OpenVPN with a PKI

    6
    0 Votes
    6 Posts
    3k Views
    P
    So all things considered, my situation is relatively speaking a correct configuration right?
  • OpenVPN server on Dualstack (IPv4 + IPv6)

    11
    0 Votes
    11 Posts
    5k Views
    S
    @Gertjan Thanks again! I only reply quickly: it seems it even works without pass rules, at least I had the impression. I now adapted my setup according to your suggestions, following rule on both WAN-interfaces: [image: 1780590972256-c44879d4-c6a4-43f3-9364-631cd9af37ad-grafik.png] I have to test through all the variants tomorrow or so (4 remotes in the client.conf now). Great tip with "This firewall", very handy. Have a nice evening!
  • 2.6.20 Upgrade Issues with OpenVPN & pfBlockerNG

    2
    0 Votes
    2 Posts
    1k Views
    S
    Troubleshooting & Workarounds so far: Main Workaround: Turn off pfBlocker. Suricata on/off made no difference. pfBlocker IP blocks on but DNSBL off worked. pfBlocker IP blocks on and DNSBL with malware & other filters on but porn filter off works, but connections are slower to establish. Note the porn filter is the single biggest filter list. Of course testing the different DNSBL options takes a lot of time as after each change pfBlocker must be reloaded, which with a lot of lists can take 30 min to an hour each time. I'll do more testing as time allows, but hopefully this may help someone else. What is odd to me is that it only affects the Tun VPN's as Tap VPN's are so much more complicated. If anyone has any other ideas they would like me to test/try let me know!
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
Privacy Policy · Cookie Policy