Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Not Starting Properly, logged error isn't helpful
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN Not Starting Properly, logged error isn't helpful (Read 1352 times)
Twitchiz
Newbie
Posts: 14
Karma: 0
OpenVPN Not Starting Properly, logged error isn't helpful
«
on:
January 11, 2024, 08:47:19 pm »
Hello everyone, I'm getting this error after creating an instance. I saw that someone with PFSense had this error when using custom options but I don't have any of those set. Not sure what's causing it. It happens right after enabling the instance. Any ideas? I basically followed the RoadWarrior VPN Config for client to site.
/usr/local/opnsense/scripts/openvpn/ovpn_service_control.php: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/instance-f6bce83c-a5e4-43a4-ae84-ca5c84bda936.conf'' returned exit code '1', the output was ''
I wasn't getting any assistance in the main area so I thought I'd post this here. My Opnsense version is 23.7.7
Edit: Upgraded to 23.7.11 and I still have the same issue.
«
Last Edit: January 15, 2024, 05:46:51 am by Twitchiz
»
Logged
Twitchiz
Newbie
Posts: 14
Karma: 0
Re: OpenVPN Not Starting Properly, logged error isn't helpful
«
Reply #1 on:
January 18, 2024, 11:23:09 pm »
I increased the verbosity and got a new error inside it.
--local addresses must be distinct from --ifconfig
This doesn't make sense as my local address does not match any ifconfig address. Any ideas? I verified my IP makes sense. I tried 10.115.10.0/24 and 10.115.10.1/24
Logged
Twitchiz
Newbie
Posts: 14
Karma: 0
Re: OpenVPN Not Starting Properly, logged error isn't helpful
«
Reply #2 on:
January 19, 2024, 02:11:50 am »
I got it working by redoing the IP scheme,
However I still have an issue. I can connect, but only when I bind the IP to the WAN IP (which changes due to ISP) or leave it to bind all interfaces. I created a port forward that forwards the OpenVPN port from the WAN Address to a loopback virtual IP I created of 127.5.5.5, but for some reason it does not function when set up that way. Any ideas?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Not Starting Properly, logged error isn't helpful