• Setting up OpenVPN on pfSense for my whole network

    5
    0 Votes
    5 Posts
    523 Views
    slkamathS

    Sure. :) Thank you very much
    Lokesh Kamath

  • Configure VPN behind ISP > USG >pfsense(VPN)

    2
    0 Votes
    2 Posts
    677 Views
    DaddyGoD

    @juanki_hd

    hi,

    it seems to me that, you are using pfSense only......., because of the OpenVPN server

    @juanki_hd "I think it would be double NAT?" - (you already have one)

    your current system also have dual-NAT configuration
    (ISP router to USG = double-NAT, because RFC1918 192.168......172.10.......)

    BTW: pfSense has more serious abilities than a USG and is more customizable.

    all your problems will be solved, if you put your ISP device in bridge mode and pfSense will replace USG
    and USG will be listed on eBay (yeah, joke, but possible) 😉

  • Problem with simultaneous connections in OpenVPN-server

    1
    0 Votes
    1 Posts
    144 Views
    No one has replied
  • What's up with OpenVPN and 2.4.5 update?

    4
    0 Votes
    4 Posts
    1k Views
    JeGrJ

    Could have been another case of those SSL problems with one of the Root CAs rotating their CA cert (old one expired). Perhaps working fine without actually "touching" / restarting it but now needed the new certificate chain to reconnect.

  • OpenVPN Access Speed & Internet

    1
    0 Votes
    1 Posts
    263 Views
    No one has replied
  • 0 Votes
    6 Posts
    1k Views
    RicoR

    So your on-prem Webserver is also running as OpenVPN client which is connected to your gcloud pfSense? You are only running this one pfSense? What is your OpenVPN mode?

    -Rico

  • open VPN and vlans

    7
    0 Votes
    7 Posts
    709 Views
    JeGrJ

    @AdmiralBTech said in open VPN and vlans:

    I was thinking of trying to use OpenVPN in TAP mode rather than TUN mode.

    I wouldn't count on that. Even in TAP mode, there are some things better left rather than to open pandora's box ;)
    I'd think more along the lines of tools like Zerotier or anything alike that aim to make a L2 capable VPN connection.

    But really, if the soft-/hardware you have deals heavily with local broadcast or multicasts and "autodiscovery" and such "automagic" things rather then plain IP, I'd leave it alone even if I understand the idea.

  • WARNING: this configuration may cache passwords in memory OpenVPN

    10
    0 Votes
    10 Posts
    5k Views
    provelsP

    @ontzuevanhussen That's it!

  • 0 Votes
    10 Posts
    2k Views
    N

    @hieroglyph With an established s2s vpn you could connect remotely to the server side of the vpn and access both sites with one connection, concurrently.

    But this adds unecessary points of failure. And since these are home networks, you could be better off with two openvn servers listening at each site , and connect to each as needed.
    A site to site vpn could also co exist, so you don't have to do anything when at home.

    of course you can have it all. S2s, two openvpn listening at both sites, and access to everywhere no matter where you connect.

    Happy tweaking.

  • OpenVPN/ExpressVPN Fatal Error

    3
    0 Votes
    3 Posts
    5k Views
    N

    Hi,
    while this is 3 years old, i just stumbled across this problem today with another VPN setup using username and password. So long story short, for whatever reason pfsense is removing the last line in the user/password file when openvpn client is executed. This results in the above error message.
    To fix this issue:

    1.) connect via ssh to your pfsense and choose to start shell
    2.) find your user+passwordfile in the openvpn directory (/var/etc/openvpn/), for me it is the file:

    /var/etc/openvpn/client1.up

    3.) If you open it with cat for instance it will only show the username and an empty line

    cat /var/etc/openvpn/client1.up myvpnusername

    4.) Simply add in a new line after the username the password and save the file so that the file looks like
    myvpnusername
    myvpnpassword

    5.) Now the important step, make the file immuteable. If you do not do this, the password will be removed again. Execute:

    chflags schg /var/etc/openvpn/client1.up

    6.) re-check that username and password are correct

    cat /var/etc/openvpn/client1.up myvpnusername myvpnpassword

    8.) Go in the webinterface to Status->OpenVPN and Start the service.
    9.) Should run now.

    Happy VPNing
    ng23

  • [Resolved] How do I make Client Overrides work?

    8
    0 Votes
    8 Posts
    1k Views
    N

    In any case, its client side, pf can't do anything about it.

  • DNS names not resolving when connected via VPN

    9
    0 Votes
    9 Posts
    734 Views
    JeGrJ

    @JLundberg said in DNS names not resolving when connected via VPN:

    Under the firewall rules I have the protocol set to TCP. Should I use UDP/TCP for all my NAT Settings?

    TCP set for what? You didn't show us the ruleset :)

    @JLundberg said in DNS names not resolving when connected via VPN:

    It may be as @Gertjan pointed out. I don't have my local DNS set in the OVPN settings. I will try setting that tomorrow morning and see what I get. Also I'll be better set to get more info when it's connected to the network.

    If you use any public DNS as your DNS setting in OVPN server settings you won't get any answers for internal IPs or internally used domains. Obviously ;)
    So if you want them it depends: do you use pfSense for your internal DNS or do normal clients get DHCP/DNS via your Windows DC? If you want your OVPN clients to get the same, you have to hand them your pfSense or Windows DC/DNS IP as their DNS server, otherwise no one knows about your internal domains and can't resolve it :)

    \jens

  • OpenVPN not longer starts after update to 2.4.5-p1

    7
    0 Votes
    7 Posts
    698 Views
    JeGrJ

    @Mainzelman said in OpenVPN not longer starts after update to 2.4.5-p1:

    Maybe I'm wrong - but I think before the update to 2.4.5-p1 the service had also started on the Backup FW.

    Shouldn't have been the case. The only case I know where they are started on both nodes is, if you bind them on a local VIP or localhost and forward your OVPN ports with Port Forward entries to that server. That is recommended with e.g. MultiWAN setups to have the ability to connect to the same server via multiple external IPs/WAN uplinks. As the server is bound to "localhost" it is always started/restarted on both nodes and waiting for connections (without getting into each others turf ;) ).

    So seems to be working as intended ;)

  • Can't access to server (need routing?)

    14
    0 Votes
    14 Posts
    1k Views
    ontzuevanhussenO

    @viragomann Ok, done. Now everything works normally.
    Screen Shot 2020-07-02 at 22.59.32.png

    Because of the rules in the VPN tab:
    Screen Shot 2020-07-02 at 23.03.19.png

    Why did you give up? why you so easy to give up???

  • Configuring more than one OpenVPN Server

    3
    0 Votes
    3 Posts
    486 Views
    S

    Thank you Gerjan. I added float to the client config and the errors went away. I actually didn't expect the fix to be that easy.

  • API log for OPEN VPN

    6
    0 Votes
    6 Posts
    759 Views
    JeGrJ

    Still running it on my homelab without a problem but yeah in a busy setting that can hurt ;)

  • RADIUS 2 way Authentication with OpenVPN

    1
    0 Votes
    1 Posts
    161 Views
    No one has replied
  • Restrict access to specific ip to users remotely connected openvpn

    11
    0 Votes
    11 Posts
    4k Views
    V

    perfect Rico, thank you very much, I learned a lot 👍

  • OpenVPN Kill Switch

    Locked
    21
    0 Votes
    21 Posts
    18k Views
    stephenw10S

    Locked this, it was just a spam magnet.

  • OpenVPN Site-to-Site

    8
    0 Votes
    8 Posts
    934 Views
    mohkhalifaM

    Thank you all guys for you kind help. it's really appreciated

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