• After restoring configuration OpenVPN certificates missing

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    bingo600B

    @apara

    From the url above , it seems that your vendor needs to sign with SHA instead of MD5
    Getting new updated certificates would be the correct solution.

    But with some vendors ... "Good luck w that" 👎

    /Bingo

  • OpenVPN connects, can ping LAN hosts but no web pages load

    14
    0 Votes
    14 Posts
    981 Views
    C

    Can anyone offer any help debugging this please - I am not making any progress.

  • I am unable to connect to OpenVPN Server

    12
    0 Votes
    12 Posts
    4k Views
    J

    @viragomann
    @viragomann
    Thank you so much for your reply. I have managed to do some magic by following this forum discussion:

    www.truenas.com/community/threads/truenas-12-openvpn-service-testing.85461/page-2
  • pfsense openvpn tunnelling issue

    2
    0 Votes
    2 Posts
    473 Views
    V

    @hardikpfsense said in pfsense openvpn tunnelling issue:

    Now from documentation we read that to do what we want to do we tried to set IPV4 to : 192.168.1.0/24 and foced
    Redirect IPv4 Gateway using checkbox in tunnel settings.

    Where did you read this?

    It is sufficient to add the subnets where your internal services resides to the "Local networks" in the OpenVPN server settings.

    "Redirect gateway" forces the whole clients upstream traffic over the VPN. Is that what you really wan?
    Can the clients access your services with that option?

  • OpenVPN client computer names

    7
    0 Votes
    7 Posts
    782 Views
    W

    @viragomann said in OpenVPN client computer names:

    So you will have to request the responsible admin to do this.
    Can't think of any you can do on the OpenVPN server, since the clients use equal user accounts on the terminal server.

    Maybe you got me wrong. Both our employees and subcontractors have their own individual OpenVPN accounts. However, they have one user account for the customer's system (another company). We connect to this client's network (another company) through the IPsec tunnel. When our employee tries to log into this system and the subcontractor is already logged in, a message appears that this user is already logged in to the computer (and the computer name appears here). If I could link an OpenVPN account with an unknown computer name of the subcontractor, I would know who to turn to, e.g. to log out.
    Currently, subcontractors get static IP addresses from OpenVPN. So I am able to bind the user - ip account, but I am not able to bind the ip address - computer name.

  • OpenVPN Windows Client Slow Performance

    1
    1 Votes
    1 Posts
    416 Views
    No one has replied
  • VPN not passing traffic to client specific override, but can get to pfsense

    10
    0 Votes
    10 Posts
    1k Views
    J

    @viragomann Makes sense - I put that into the Local Networks box and now it's all set. I kept the CSO setup because it makes for easier export of the installers or config files with the certificates embedded for the specific 'user' or cert - but since this was my use case - it's working perfectly now.

    Thank you for all your help today - I learned a lot.

  • 2 OpenVPN servers - but all clients are shown on one export client list

    4
    0 Votes
    4 Posts
    503 Views
    gbooneG

    @viragomann Thanks this was very helpful. I looked again at the certs and found that the Peer Certificate Authority for the one in Question was actually a server cert instead. Changed it back to the Intermediate CA it should have been and the list is populating.

  • Why is GCM unavailable when using a shared key?

    3
    0 Votes
    3 Posts
    476 Views
    jimpJ

    That is more of a question for OpenVPN than pfSense. If OpenVPN supported it, pfSense could use it.

    IIRC it had something to do with the HMAC being a part of the shared key in that mode, and AEAD ciphers like AES-GCM and CHACHA20-POLY1305 want to do hashing themselves. I could be misremembering that, though.

    I'm not sure what will change here but something is going to have to change in OpenVPN since 3.0 hardcodes the ciphers and only uses AES-GCM and CHACHA20-POLY1305. Maybe they find a way to make it work, or maybe they drop shared key mode.

  • OpenVPN TCP 443 low connexion

    3
    0 Votes
    3 Posts
    552 Views
    W

    Update :
    Look like it's the latency which impact the TCP VPN.
    Wel, I cannot do to much things about it, so I will keep 2 VPN and when UDP is blocked, I will use the TCP.

  • How to make OpenVPN Client use DNS Resolver?

    3
    0 Votes
    3 Posts
    612 Views
    T

    @bob-dig Thank for your reply.

    Currently my OpenVPN settings is here
    45e6a85a-52bd-4dd6-a4f1-bd1e35d3a009-image.png
    In the above photo, 192.168.160.0/24 IPv4 Local network which OpenVPN Client can access.
    With this setting, I can connect to Nextcloud using nextcloud.mydomain now

  • Can not get OpenVPN server up and running; "Unable to contact deamon"

    8
    0 Votes
    8 Posts
    5k Views
    T

    @jimp I spent about 5 hours today trying to figure this one out. It's a shame the default setting is incorrect - no tutorial has mentioned this. Thanks.

  • Data transfer over VPN slows down after 500 MB

    1
    0 Votes
    1 Posts
    266 Views
    No one has replied
  • which crypto is in use with Data Encryption Negotiation

    3
    0 Votes
    3 Posts
    497 Views
    GertjanG

    I've set :

    1b1768a4-d299-443e-9504-4bca4411a3ad-image.png

    So, no surprise, I see in the logs the same thing :

    2021-07-15 12:44:55.799700+02:00 openvpn 48505 GertjanHome/92.184.123.121:55566 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

    I also saw the same thing on the client side - in the logs of my Phone..

  • New created certificates are revoked ?

    2
    0 Votes
    2 Posts
    562 Views
    R

    Found. There was old certificates generated using easy-rsa before pfsense installation. And it was added to crl. New certificate was created with same serial and became revoked. I created new one and all works.

    There is a bug in pfsense - it should check crl and show "revoked" for certs with revoked serial.

  • DNS Redirect over OpenVPN

    14
    0 Votes
    14 Posts
    1k Views
    johnpozJ

    @ryu945 said in DNS Redirect over OpenVPN:

    Why did I have to use subnet IPs instead?

    I have not idea what you actually did.. You can for sure use specific IPs in the rules for source and destination..

    Maybe you had the wrong IPs in source or destination, maybe there was a state already if you were trying to to block something..

    Order of rules matter! Top down, first rule to trigger wins, no other rules are evaluated, etc.

  • Local printer, OpenVPN, remote server

    4
    0 Votes
    4 Posts
    629 Views
    johnpozJ

    @milliput said in Local printer, OpenVPN, remote server:

    the server tech told me i need a bidirectional tunnel

    What?? Sorry but that has zero to do with printing through rdp..

    For the "server" to print to some printer on the clients network - yes you would need a site to site vpn setup where the server network knows how to get to the client network.. Never in 30 years in biz heard any one call such a thing a bidirectional tunnel ;) hehehe

    But that is not what your doing.. Your printing to a local resource from your rdp client... There could be some issues with drivers on the server your rdping too.. But thought they fixed that in like windows server 2008, maybe r2 with easy print driver or something.. Been years and years since had to deal with such stuff.

    But its not your "vpn" setup that is causing the problem that is for damn sure ;)

    is this printer usb printer on the rdp client or a network printer on the clients network. Its possible vpn setup send all traffic down tunnel and not allow split tunnel. But didn't think openvpn did that out of the box even when using default gateway through the tunnel..

    What exactly is the client using for the rdp client? Are they set to use the local printer resource like my pic?

    site-to-site

    So you have a site to setup setup with pfsense to this remote site where the server you rdp is?

  • 0 Votes
    10 Posts
    998 Views
    T

    @viragomann

    The cisco router has a fixed "vpn" connection the corporate "intranet" (194.82.54.70), thats why I can only access it within the LAN through the gw 10.132.37.1.

    I missed that about the outbound rule.
    I have added it as an extra outbound rule with dest.194.82.54.70/32 .
    I can now ping it from my vpn user.

    Awesome.
    Thank you for your great help, I really appreciate it.

  • OpenVPN S2S client daemon get's killed

    1
    0 Votes
    1 Posts
    343 Views
    No one has replied
  • Cannot access Windows share via OpenVPN

    5
    0 Votes
    5 Posts
    1k Views
    3

    @3lmar It turned out it was a totally different problem.
    The solution is somehow related to pfsense, because I would not have found it without pfsense's package capture.
    My windows 10 notebook on the OpenVPN was trying to connect via port 80, which seemed strange. I learned it did that, because the share wasn't on the same subnet.
    The solution was to disable NetBIOS over TCP/IP: https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/direct-hosting-of-smb-over-tcpip

    Sorry for having disturbed you.
    Maybe this helps anybody else, who like me wouldn't expect a problem with windows pcs connecting to windows pcs.
    I should have stayed with linux.

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