Alias for OVPN Tunnel Not Accepted
-
I have two working OpenVPN servers and decided to create an alias for the tunnel network address on one of them. I created an IP alias as follows
Name: Tunnel_DataVPN
Type: Network
Network or FQDN: 172.31.55.0 /24and tried to use the alias in the "IPv4 Tunnel Network" field of the OpenVPN server page in lieu of the actual CIDR address, but I receive the following error message when trying to save the revised configuration:
The following input errors were detected:
The field 'IPv4 Tunnel Network' must contain only valid ipv4 CIDR range(s) separated by commas.
What am I missing here in my understanding?
Eric
-
If you wrote the tunnel network like above it won‘t work, cause there is a space between the network address and mask.
-
@viragomann
Thanks for responding.
No, it wasn't defined that way - the webpage has two separate fields.
Here's an image of the actual pfSense web page for the definition.
-
The problem is in the OpenVPN server settings. Have you really typed in the alias there??
Didn't get that before.
You can use the alias in firewall or NAT rules or in other aliases, but not in the tunnel network box. The tunnel network has to be a single network in CIDR, so there's no reason to type in an alias. -
Aliases do not work there. The local and remote networks are: Expressed as a comma-separated list of one or more CIDR ranges.
Tunnel network too, as you found out, but it's only one CIDR there.