300000 wrote
inside that file just add this
iroute 172.17.200.0 255.255.255.0
this is what ive configured. and now ive tried without the apostrophes but still same result. although this time I didn't get the error message.
additionally ive just tried to configure the route manually towards 10.8.0.6 (client tun0).
but the command fails due to an invalid gateway.
root@ip-172-30-0-139:~# ip route add 172.17.200.0/24 via 10.8.0.6
Error: Nexthop has invalid gateway.
root@ip-172-30-0-139:~#
and this is becouse the mask of int tun0 at the server side is /32. i dont know if ubuntu support recursive routes.
172.17.200.0/24 via 10.8.0.2 dev tun0
tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none
inet 10.8.0.1 peer 10.8.0.2/32 scope global tun0