Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] openvpn service not starting
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] openvpn service not starting (Read 22054 times)
bapetc
Newbie
Posts: 7
Karma: 0
[SOLVED] openvpn service not starting
«
on:
April 21, 2016, 09:14:23 am »
Hi,
I'm running
OPNsense 16.1.8-amd64
FreeBSD 10.2-RELEASE-p14
OpenSSL 1.0.2g 1 Mar 2016
I try to setup an OpenVPN server. The service is not starting.
Apr 21 09:01:22 firewall openvpn[3247]: Options error: --server directive network/netmask combination is invalid
Apr 21 09:01:22 firewall openvpn[3247]: Use --help for more information.
I created a server with the wizard interface.
«
Last Edit: April 21, 2016, 10:19:59 pm by franco
»
Logged
bapetc
Newbie
Posts: 7
Karma: 0
Re: openvpn service not starting
«
Reply #1 on:
April 21, 2016, 10:05:54 pm »
Sorry, wrong ip/mask. OpenVPN is working now!
Logged
adrian.orcik
Newbie
Posts: 1
Karma: 0
Re: [SOLVED] openvpn service not starting
«
Reply #2 on:
March 23, 2017, 11:06:08 am »
Hey, where was you mistake ? Because I have same issue
thanks for quickly answer.
Logged
franco
Administrator
Hero Member
Posts: 17674
Karma: 1613
Re: [SOLVED] openvpn service not starting
«
Reply #3 on:
March 24, 2017, 07:46:05 am »
The validation was fixed in 17.1.3:
https://github.com/opnsense/changelog/blob/master/doc/17.1/17.1.3#L41
When you use a CIDR notation in OpenVPN and it expects a network, it does not accept input in the form of:
10.0.0.1/16
Because /16 marks the network and "10.0.0.1" is a host (non-zero). You need to write:
10.0.0.0/16
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] openvpn service not starting