Push Route - Options error: route parameter network/IP

The following is show after upgrading to the VyOS 1.3-rolling-202012120217

Sat Dec 12 22:14:07 2020 PUSH: Received control message: ‘PUSH_REPLY,route 10.0.0.0/24,route 10.0.99.1,topology net30,ping 10,ping-restart 30,ifconfig 10.0.99.6 10.0.99.5,peer-id 0,cipher AES-256-GCM’
Sat Dec 12 22:14:07 2020 Options error: route parameter network/IP ‘10.0.0.0/24’ must be a valid address

I’d try to compare with previous version
Sat Dec 12 22:16:03 2020 PUSH: Received control message: ‘PUSH_REPLY,route 10.0.0.0 255.255.255.0,route 10.0.99.1,topology net30,ping 10,ping-restart 30,ifconfig 10.0.99.6 10.0.99.5,peer-id 0,cipher AES-256-GCM’
Sat Dec 12 22:16:03 2020 OPTIONS IMPORT: timers and/or timeouts modified

Server Setting is also enclosed
openvpn vtun0 {
encryption {
cipher aes256
}
hash sha512
keep-alive {
failure-count 3
interval 10
}
mode server
server {
push-route 10.0.0.0/24
subnet 10.0.99.0/24
}
tls {
ca-cert-file /config/auth/ca/pki/ca.crt
cert-file /config/auth/ca/pki/issued/server.crt
dh-file /config/auth/ca/pki/dh.pem
key-file /config/auth/ca/pki/private/server.key
}
use-lzo-compression
}

I get the same error “Options error: route parameter network/IP ‘172.30.0.0/16’ must be a valid address” using vyos-1.3-rolling-202012171749-amd64.iso .
On both Ubuntu 18.04 and Mac Tunnelblick clients - using latest Tunnelblick.

Configuration command:
set interfaces openvpn vtun0 server push-route ‘172.30.0.0/16’

I think this is a bug, please create a bug report on https://phabricator.vyos.net/
We must use in OpenVPN configuration file param push "route IP NETMASK" instead of IP/CIDR

Bug report created https://phabricator.vyos.net/T3143

The bug was fixed in 1.3-rolling-202012230217

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.