Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
[SOLVED] OpenVPN remote network
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] OpenVPN remote network (Read 5314 times)
GaardenZwerch
Full Member
Posts: 104
Karma: 2
[SOLVED] OpenVPN remote network
«
on:
August 16, 2018, 03:41:22 pm »
Hi,
openvpn clients used to accept x.y.z.t/32 in "IPv4 Remote Network" if there is a single host that needs to go through a tunnel in 18.1,
now (18.7.1) they complain:
"The field 'IPv4 Remote Network' must contain only valid ipv4 CIDR range(s) separated by commas."
I rely on this a lot, for reasons that I have no influence on. Can this be like it was before, so /32 is valid?
Thanks and regards,
Frank
«
Last Edit: August 17, 2018, 09:46:09 am by GaardenZwerch
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: OpenVPN remote network
«
Reply #1 on:
August 16, 2018, 03:53:09 pm »
Hi Frank,
Can you give an example of such a tunnel network?
Thanks,
Franco
Logged
GaardenZwerch
Full Member
Posts: 104
Karma: 2
Re: OpenVPN remote network
«
Reply #2 on:
August 16, 2018, 03:59:56 pm »
Hi Franco,
I need to access 172.27.5.3/32 (just this one host) thru a given opnvpn tunnel. This doesn't work anymore since upgrading to 18.7.1
When I put 172.27.5.0/29 in the field, it works (for now) but it is not really what I want.
Thanks
Frank
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: OpenVPN remote network
«
Reply #3 on:
August 16, 2018, 06:18:54 pm »
Hi Frank,
Thanks, lifted the restriction and found what looks like a PHP oddity that evaluates bitwise operators after logic operators...
https://github.com/opnsense/core/commit/4d664bc3
You can install the patch via:
# opnsense-patch 4d664bc3
Cheers,
Franco
Logged
GaardenZwerch
Full Member
Posts: 104
Karma: 2
Re: OpenVPN remote network
«
Reply #4 on:
August 17, 2018, 09:45:44 am »
Thanks a lot,
works like a charm.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] OpenVPN remote network
«
Reply #5 on:
August 17, 2018, 12:11:36 pm »
Ok, thanks, will be shipped in 18.7.2. Sorry for the trouble.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
[SOLVED] OpenVPN remote network