• LDAP Authentication Fail with OpenVPN

    3
    0 Votes
    3 Posts
    260 Views
    M

    @ctarbet

    I configured the OpenVPN with OpenLdap. I had some issues regarding to setup but I found the solution:

    Start configuring A connection from scratch (SystemUser -> ManagerAuthentication -> Servers) - don't copy the connection!

    Screenshot from 2025-01-17 09-53-21.png
    Screenshot from 2025-01-17 09-56-57.png

    QUERY: &(objectClass=groupOfNames)(cn=vpn)(member=*)

    LDAP tree structure:
    Screenshot from 2025-01-17 09-59-59.png

    Please take a look at the screen. This is an example of configuration, but maybe it'll help you. Good luck!

  • Weird Issue Microsoft Outlook / OpenVPN

    5
    0 Votes
    5 Posts
    384 Views
    S

    @Gertjan You helped me find the problem, on the other VPN server, I had selected to give the client the domain name and swapped my DNS entries. All good now. Appreciate your help, your the man!

  • Can ping my entire network but can not access any server

    2
    0 Votes
    2 Posts
    192 Views
    GertjanG

    @Dharmender-Bankal said in Can ping my entire network but can not access any server:

    what could be the issues?

    When you're on site, and if your server has a keyboard and screen : connect to it.
    I'll bet it has a firewall ^^
    And I bet again : your server, as per security rules, only accepts connection coming from the local network it's connected to. And from no where else. Right ?

    Change (adapt) the server's firewall rule(s), and you'll be good.
    I suggest : don't open up 'from everybody' (which includes the entire Internet !), start by adding the tunnel network you are using when connected to your VPN.

  • OVPN Server on pfSense2100 & Client ER605 TPLINK OMADA

    1
    0 Votes
    1 Posts
    215 Views
    No one has replied
  • NordVPN Configuration

    1
    0 Votes
    1 Posts
    172 Views
    No one has replied
  • OpenVPN listening on all interfaces after 24.11 update

    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • ERR_TUNNEL_CONNECTION_FAILED

    2
    0 Votes
    2 Posts
    195 Views
    GertjanG

    @Conger1892 said in ERR_TUNNEL_CONNECTION_FAILED:

    I can access the firewall and other servers via the IP address

    So .... fire up a text editor and open the 'ovpn' file you've imported into your OpenVPN client app, and replace the host name that it is using, for the current WAN IP you use to connect the OpenVPN to the OpenVPN.
    Import this edited file.
    Use it ... and now it connects !?

    I presume that the somewhat vague error shown "ERR_TUNNEL_CONNECTION_FAILED." measn that the tunnel couldn't create, because the IP (the host name it was using) didn't point anymore to your WAN IP (pfSEnse work) but to 'some one else'.
    So, by now you get it : the host name you were using in the OpenVPN client app config wasn't 'actual' anymore.
    So, its the "DynDNS" WAN IP updater process that stopped doing its thing.

    That would leave lines with errors in the (system, I guess ?) logs.

    I can access the firewall and other servers via the IP address

    Also : this means you have a VPN access, and you can access your pfSense directly using it's WAN IP ?
    Great that you could use that solution.
    A pure catastrophe from a point of security ...

    , but no longer via DNS resolution.

    What you wrote there, for me, is the origin of your your issue.
    Who or what makes that the host name, after resolving, point to your WAN IP ?
    You would say : My dyndns supplier.
    Then me : And who informs your dyndns that an (your WAN) IP change happened ?
    You would say : my pfSense.
    Then me : Who learned this trick you your pfSense, who set it up ?
    You : Me !
    I would say : Great, I'm talking to the right person then. Did you start a renewal manually of your DynDNS, and checked what happened ? The DynDNS host name changed ? or not ?
    If you want details - the ones that will bring you to the source of the issue, check this one :
    0d68dbcd-d58f-493e-aa46-7f04adb96e0a-image.png
    and renew again.

    Btw : my phrases are based upon what your words told me.
    I could be totally wrong of course, so please add more details.

  • openvpn client not connecting

    45
    0 Votes
    45 Posts
    5k Views
    C

    @viragomann
    Now I managed to get full tunnel and get internet in connected devices.
    Sorry to make this a very long discussion.
    Thank you all.
    If you don't mind, could you please delete the certificate chat section in this discussion ?

  • OVPN route branch office out HQ

    1
    0 Votes
    1 Posts
    116 Views
    No one has replied
  • OpenVPN on 2.7.1 crashes on some circumstances

    22
    0 Votes
    22 Posts
    4k Views
    GertjanG

    @ncohafmuta said in OpenVPN on 2.7.1 crashes on some circumstances:

    I'm running pfsense 2.7.1

    Be aware that those who are using 2.7.1 are not the persons who visit this forum.
    As they would see right away that 2.7.2 was avaible. Did you test 2.7.2 ?

    I'd love to add more details, but 2.7.1 is more then two years old and I can't recall any related info anymore.

  • 0 Votes
    5 Posts
    406 Views
    jimpJ

    Just so it's clear:

    OpenVPN Client Export version 1.9.5 isn't available on the 24.03 package repository. It's only available in the 24.11 package repository.

    No packages from the 24.11 repository should be installed on 24.03. Either upgrade to 24.11 first, or ensure the update branch is set to stay on 24.03.

    On the current versions that update branch doesn't automatically get set to the latest version so you'd have to go out of your way to land in this situation.

  • unable to connect to ProtonVPN. Missing firewall outbound mappings

    2
    0 Votes
    2 Posts
    274 Views
    ReneMGR

    @GuillaumeJ
    Try to follow the steps mentioned in their official guide for pfSense:

    Proton VPN over pfSense

    Regarding your question:

    Once you are in NAT > Outbound, you should go to the tab:

    Manual Outbound NAT rule generation.
    (AON - Advanced Outbound NAT)

    here you should see the automatic rules created.

    Actually I have Proton VPN over pfSense working, although I'm getting some strange random issue I'm trying to investigate.

    Hope it helps

  • 0 Votes
    2 Posts
    325 Views
    V

    @joaobarbi said in Setup OpenVPN to redirect all traffic directly to WAN:

    Now, instead of routing traffic through the enterprise network, I want to use the VPN to redirect traffic directly to the WAN, bypassing the enterprise's internal network

    Which path though the internal network does the traffic actually take now?

    If you run an OpenVPN server on your firewall, routing all clients upstream traffic over it (for whatever reason..), the packets come in on the VPN interface and go out on WAN.
    I cannot think of any shorter path.

  • No DNS entry for OpenVPN client?

    4
    0 Votes
    4 Posts
    354 Views
    T

    @Gertjan OK thanks, I didn't realize that the DNS name is tied to the pfSense user name used when connecting to the OpenVPN server.

  • OpenVPN client LAN access from server LAN

    18
    0 Votes
    18 Posts
    2k Views
    GertjanG

    @blackslash

    They were fire-walling port 1194 UDP traffic ?
    They are anti OpenVPN ?

  • Weird slow OpenVpn connection

    17
    0 Votes
    17 Posts
    1k Views
    D

    @Decepticon yup thanks!

  • Site to Site Open VPN connected but not working

    3
    0 Votes
    3 Posts
    249 Views
    G

    @viragomann Thank you for mentioning CSOs, I was missing the CSO for the new building thus the VPN connection wasn't working properly. I cloned the existing one and everything works fine.
    Thanks and have a nice day!

  • Inactivity timeout (–ping-restart), restarting

    3
    0 Votes
    3 Posts
    9k Views
    H

    @AnthonyW
    Hi Anthony, as I face the same issue with my users frequently getting disconnected due to inactivity timeout. I found your KB here, however I can't see https://forum.pfsense.org/index.php?topic=138984.0
    could you please explain how to resolve or guide me the correct forum to find the resolution.

  • openvpn clients outside my router cannot establish communication

    8
    0 Votes
    8 Posts
    703 Views
    G

    @Gertjan GASIONSERVER was udp only because ewon protocol is udp

  • can a firewall connection route packets ?

    2
    0 Votes
    2 Posts
    558 Views
    GertjanG

    @coreybrett said in can a firewall connection route packets ?:

    Does the established firewall connection on Site B's router allow packets from Site's B LAN to be routed back

    If incoming traffic was allowed to reach 'a place', the firewall (router) states will handle the traffic going back.

    Your example :
    With your phone as a VPN client, you can connect to the VPN server, site A. The firewall rules of the VPN server on site A will decide 'where' you can go.
    Let's presume a "pass all" so you can go to every known address on site A.
    So you can access, site A, pfSense itself, all all its LAN type interfaces, and why not, all it's available WAN interfaces, and one of the WAN interfaces is probably the VPN "site to site" link that connects Site A to Site B.
    So, if your phone, using the VPN to site A, wants to access an IP address that exists on site B, and pfSense Site A knows that that IP (network) is reachable somewhere on Site B, it will transfer your phone traffic to Site B over the existing route, your site to site (VPN) connection.
    Traffic coming in Site B will, if local firewall rules allow it, reach the final IP.

    The traffic going back, as traffic is a dual direction stream, will be handled by all the routers involved. That's the beauty of using stateful router/firewalls.

    After all, when you set up a connection to www.facebook.com through I don't know how many routers, the traffic reaches Facebook.
    And - now your are not surprised ( ? ! ) - that you get an answer back.

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