Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jengland

#1
I had already tried what was referenced in that post, did not work for me.  I even set up a new client instance to connect to our main OpenVPN instance that is used regularly, but configured still as a "Legacy" server, and the same problem. 

There is something fundamentally broken with the OPNsense client implementation as I can drop down to the command line and start openvpn with a .ovpn file created by the server and it works perfectly.
#2
Greetings,

I am attempting to create a site-to-site VPN with OPNsense on both ends.  I have followed the directions detailed in the OPNsense docs about using the new "instances" interface to create both the server and the client.  The only areas where I differ is that I am not using static keys and I am using user authentication.

The CA and certs are working as expected and the client can connect using the username and password.  The issue is that the client will disconnect and reconnect every minute or two and the server sees a new connection, assigns a new IP and after a minute or two, the same thing happens.  Looking through the log file, the only entry that seems related as it happens about the same interval as the dis/reconnects is this:

Error openvpn_client1 event_wait : Interrupted system call (fd=-1,code=4)
As part of my troubleshooting / process of elimination, I performed a "Client Export" from the server and copied the downloaded .ovpn file to my OPNsense client.  Using the openvpn command line:

# openvpn --config filename.ovpn
it connects and stays connected without any dis/reconnects.  So essentially I am using the same openvpn binary executable that OPNsense is using, but something in the client Instance config is causing the dis/reconnects, but eliminating OPNsense and using openvpn directly from the command line works as I would expect.

I have spent hours scouring the web trying to find a solution and searching for the above listed error message, but I have not found anything that actually fixed my issue.

At this point, I don't know what to do as it seems there is something that OPNsense does in how it launches the openvpn client that is causing this.

Any suggestions and help will be greatly appreciated!!

Thanks,

Justin