solved
i put prefix instead of mask in the gui configuration field. confusing to use both variants interchangeable. :\
I have set up my router as openvpn server and have activated "manage client-specific options". it dies trying to add the route (see log). i have never seens this /-1 and no idea how to debug. any advice welcome.
server net is: 192.168.2.0
internal vpn net: 10.8.0.0
client net is: 192.168.25.0
AX86U - 388.6 alpha and 388.6 beta same behavior
i put prefix instead of mask in the gui configuration field. confusing to use both variants interchangeable. :\
I have set up my router as openvpn server and have activated "manage client-specific options". it dies trying to add the route (see log). i have never seens this /-1 and no idea how to debug. any advice welcome.
server net is: 192.168.2.0
internal vpn net: 10.8.0.0
client net is: 192.168.25.0
AX86U - 388.6 alpha and 388.6 beta same behavior
Code:
Jan 8 10:26:02 ovpn-server1[3053]: Diffie-Hellman initialized with 2048 bit key
Jan 8 10:26:02 ovpn-server1[3053]: TUN/TAP device tun21 opened
Jan 8 10:26:02 ovpn-server1[3053]: TUN/TAP TX queue length set to 1000
Jan 8 10:26:02 ovpn-server1[3053]: /usr/sbin/ip link set dev tun21 up mtu 1500
Jan 8 10:26:02 ovpn-server1[3053]: /usr/sbin/ip link set dev tun21 up
Jan 8 10:26:02 ovpn-server1[3053]: /usr/sbin/ip addr add dev tun21 10.8.0.1/24
Jan 8 10:26:02 ovpn-server1[3053]: ovpn-up 1 server tun21 1500 0 10.8.0.1 255.255.255.0 init
Jan 8 10:26:02 custom_script: Running openvpn-event
Jan 8 10:26:02 ovpn-server1[3053]: /usr/sbin/ip route add 192.168.25.0/-1 via 10.8.0.2
Jan 8 10:26:02 ovpn-server1[3053]: ERROR: Linux route add command failed: external program exited with error status: 1
Jan 8 10:26:02 ovpn-server1[3053]: ERROR: Linux route add command failed
Jan 8 10:26:02 ovpn-server1[3053]: Socket Buffers: R=[524288->524288] S=[524288->524288]
Jan 8 10:26:02 ovpn-server1[3053]: UDPv4 link local (bound): [AF_INET][undef]:11940
Jan 8 10:26:02 ovpn-server1[3053]: UDPv4 link remote: [AF_UNSPEC]
Jan 8 10:26:02 ovpn-server1[3053]: MULTI: multi_init called, r=256 v=256
Jan 8 10:26:02 ovpn-server1[3053]: IFCONFIG POOL IPv4: base=10.8.0.2 size=253
Jan 8 10:26:02 ovpn-server1[3053]: Initialization Sequence Completed
Last edited: