• OpenVPN with Azure MFA

    1
    0 Votes
    1 Posts
    416 Views
    No one has replied
  • Site2Site OpenVPN only works with /30 IPv4 Tunnel Network?

    Moved
    18
    0 Votes
    18 Posts
    2k Views
  • 0 Votes
    6 Posts
    796 Views
    mucipM

    Dear @viragomann
    I checked the two connection while "Duplicate Connection" checked. But I can not connect still with the second user unfortunately.

    Regards,
    Mucip:)

  • pfsense constantly losing connectivity to NordVPN

    18
    0 Votes
    18 Posts
    4k Views
    P

    @thenarc said in pfsense constantly losing connectivity to NordVPN:

    So it's not something that would be transparent for sure, but you're saying it just doesn't happen at all no matter how long you wait?

    Yes, at least whne it happened yesterday I waited about 5 minutes or so but the status of the gateways stayed the same, and the connection was still down. After I force restarted the Openvpn service, the gateways went back up (albeit 2 of them still screwed up as per screenshot I posted above).

    @thenarc said in pfsense constantly losing connectivity to NordVPN:

    making them reestablish as well. But maybe worth trying to see if it improves your observed behavior.

    I agree with you, that makes sense, it has pretty much the same effect as issuing a force restart on the underlying services (without of course restarting them for real)... But I wonder, can it cause data corruption or other issues with services that are actively communicating, etc? I have in mind, for example, if I am on a VOIP call, will my call be dropped or will I only see a small "hiccup" and nothing else? This is more of a general networking question than a VPN question.....

    EDIT: I just realised that my VOIP ATA has been offline for many hours, if not for more than a day hence causing me to miss several phone calls... The ATA couldnt, for some esoteric reasons, establish a connection to the VOIP server even if the FW rules are all in order (and worked for many years before implementing this disaster of vpn). Rebooting pfsense solved it but I dont trust this for long. Will give myself a few days then I'm reverting everything and cancelling nordvpn.

  • Access my home server through my phone hotpot.

    20
    0 Votes
    20 Posts
    2k Views
    D

    @gertjan said in Access my home server through my phone hotpot.:

    @viragomann said in Access my home server through my phone hotpot.:

    I started an OpenVPN connection on the iPhone and connected my laptop with the its hotspot. But I was not able to connect to a remote resource with this.
    So obviously that's not possible with a recent iOS as well.

    I tried just that several days ago.

    I use the OpenVPN OpenConnect app on my iPhone
    When you use it, and check log files on both sides, you'll see that your iPhone gets one IPv4 - and one IPv6 if you asked for it / set up IPv6.
    That"s one IP for one device, the iPhone.

    If the hotspot would use the OpenVPN connection, would it use the same attributed IP for the hotspot connected device ?
    No, of course not, that would be an error.

    If the phone behaves as a NAT home router and successfully masquerades hotspot connected devices over the WAN based VPN tunnel, then I believe you would still only see one VPN client on the pfsense side.
    Is this not what many higher end home routers (pfsense included) do? They masquerade LAN connected devices via an VPN client connection. The limitation seems imposed by android's design rather than the underlying Linux kernel/network stack. It appears neither Android or IOS permit NAT of hotspot network over the vpn client 'interface'.
    The project I linked to above appears to offer a UI to manipulate iptables to achieve this but requires root.

    This means that the iPhone VPN App should behave as a router ? Can't be, as the app (my words) has been created to connect 'a device' to a OpenVPN server, not multiple devices.

    I'm pretty sure that what you want, exist.
    It will be a dedicated small box, a router, with an AP build in, a 3/4/5G connections, thus a SIM card, and it should have a special case of OpenVPN Client usage so every device connected to the AP will get tunneled to the OpenVPN server.

    Yes, and I bet it's quite expensive.

  • Opnevpn cliente e site to site

    14
    0 Votes
    14 Posts
    1k Views
    M

    @viragomann perfect now with your directions it works great

    I THANK YOU

  • Remote access and site-to-site (shared key)

    6
    0 Votes
    6 Posts
    779 Views
    E

    @viragomann To be honest, you lost me at BTW. I will try to understand your invaluable advice.

    Thank you so much.

  • Problem with IP server is reachable on

    3
    0 Votes
    3 Posts
    429 Views
    TheCableGuy96T

    @netblues

    Thank you.

  • MULTI: bad source address from client with Home Public IP

    1
    0 Votes
    1 Posts
    351 Views
    No one has replied
  • 0 Votes
    2 Posts
    537 Views
    V

    @hamidsattarrana
    Double-check that the CA assigned to the OpenVPN server and the CA the user cert is from are the same and that you selected to correct server in the client export utility.

    You can verify the certs in System > Certificate Manager > Certificates, which gives you a good overview of the issuer and the usage.

  • OpenVPN Policy Routing

    12
    0 Votes
    12 Posts
    1k Views
    S

    Thanks for all the help. The OpenVPN server was trying to push DNS to the client and it was the cause of all my troubles.

  • OpenVPN Virtual Interface

    2
    0 Votes
    2 Posts
    537 Views
    J

    Anyone else looking for something like this, Wireguard has it and it works great!

  • OpenVPN-Client security risks?

    2
    0 Votes
    2 Posts
    589 Views
    V

    @richardeb
    No, if you only did the recommended setup you're safe.

    However, be careful when you add an OpenVPN server on your pfSense additionally.
    The wizard if you run it, will add an allow any rule to the OpenVPN tab. You must consider that the OpenVPN tab is in fact an interface group which includes all the OpenVPN instances, either servers and clients, you're running on pfSense. And rules on an interface group have priority over rules on member interface tabs.

    So to stay save when running additional OpenVPN instances, where you must permit inbound access from, either assign an interfaces to each of the instances and define your rules there, while you leave the OpenVPN tab blank, or set the source in the rule so that it is only applied to the concerned VPN clients.

  • Tunnel VPN not working without CSO?!?!?!

    5
    0 Votes
    5 Posts
    778 Views
    M

    @viragomann Thanks again for you always clear and relevant answers!

    Have a good day!

  • site to site to opt1

    12
    0 Votes
    12 Posts
    1k Views
    V

    @jarhead
    You have to establish an layer 2 connection between server and clients.
    L2 between different network interfaces can be achieved with a bridge. So you have to create a bridge at both sites.

    I didn't get where your clients and the server are connected to. The concerned interface have to be bridged with the VPN interface.
    So at both sites you have to use tap mode OpenVPN and assign an interface to the VPN instance. Then you can bridge these interfaces with the respective server or client interface.

  • OPENVPN NOT TUNELING IP

    8
    0 Votes
    8 Posts
    1k Views
    F

    @viragomann Ey, sorry for no reply, i was trying and trying... i can't do more...
    The log on the server says "P_CONTROL_HARD_RESET_SERVER_V2" and "P_CONTROL_HARD_RESET_CLIENT_V2".

    In the client the first message is "Preserving recently used remote addres: [AF_INET]xxx.xxx.xxx.xxx:xxxx" "UDPv4 link local:(not bound)"

    I don't know what can i do 😥

  • client overide routes not working

    4
    0 Votes
    4 Posts
    769 Views
    M

    @viragomann

    Got it working. Thanks,

  • Client export missing server IP in config

    1
    0 Votes
    1 Posts
    318 Views
    No one has replied
  • OpenVPN OTP with Active directory users

    1
    0 Votes
    1 Posts
    303 Views
    No one has replied
  • Same subnet over VPN

    1
    0 Votes
    1 Posts
    429 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.