Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Dpinger and OpenVPN issues
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dpinger and OpenVPN issues (Read 1282 times)
Koldnitz
Jr. Member
Posts: 84
Karma: 13
Dpinger and OpenVPN issues
«
on:
July 31, 2023, 10:27:36 pm »
After migrating to 23.7 everything is working as well as previously in 23.1.10/11 excepting Dpinger with OpenVPN.
When I switch servers the dpinger instance shows down (red) until I go to System > Gateways > Single > edit the gateway of the client in question (I use two OpenVPN clients configured to failover ...
https://forum.opnsense.org/index.php?topic=4979.msg25066#msg25066
), save then reapply.
This makes the gateway come back up as green with a ping etc.
I rebuilt my OpenVPN clients using the new instance system as well.
Everything seems to work (OpenVPN shows I have an IP and up) but my instance does not seem to work with System>Gateways>Single or Group.
Has anyone else experienced anything similar / have any insight?
«
Last Edit: August 02, 2023, 09:41:15 pm by Koldnitz
»
Logged
bobbysmithers
Newbie
Posts: 4
Karma: 0
Re: Dpinger issues
«
Reply #1 on:
August 01, 2023, 03:26:29 am »
I am having similar issues except I'm using WireGuard and not OpenVPN.
Logged
Koldnitz
Jr. Member
Posts: 84
Karma: 13
Re: Dpinger and OpenVPN issues
«
Reply #2 on:
August 02, 2023, 10:04:44 pm »
I am pulling my hair out on this one.
I have completely copied current working (pre-MVC/API) configuration to the new OpenVPN Instances.
It connects, I can get the Dpinger to work if I specify a ping address, however the pre-MVC/API config automatically pings X.X.X.1 (the gateway) if its address is X.X.X.26.
The new OpenVPN instances config does not automatically get a gateway and that is why dpinger is not working.
Error I get is:
Code:
[Select]
/usr/local/opnsense/scripts/routes/gateway_status.php: Gateway currently empty for 1.1.1.1 on opt6
I was using 1.1.1.1 as the monitor IP. I have also confirmed that I it works on the VPN gateway even though it is not automatically set.
I have played with the gateway tick boxes as well as specifying my wan IP in the routes boxes in instances to no avail.
On the old client config I would set my wan interface (but there is no option for that in the new system), so I am not sure if there is another way to set that within OpenVPN instances config and this will set the gateway.
I am by no means an expert with OpenVPN / routing in general (I muddle along until stuff works / RTFM).
In this case there doesn't seem to be a manual and I have muddled as far as I can.
Am I overlooking looking something simple? I am unable to determine what needs to be setup to make OpenVPN set / use gateway properly.
Cheers,
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Dpinger and OpenVPN issues