Hello community.
I'm having an error connecting from the client machine.
Thu Jan 9 00:51:52 2020 /sbin/ip route add 172.16.0.0/16 via 172.16.5.101
ip: RTNETLINK answers: File exists
Thu Jan 9 00:51:52 2020 ERROR: Linux route add command failed: external program exited with error status: 2
Thu Jan 9 00:51:52 2020 /sbin/ip route add 172.16.0.0/16 via 172.16.5.101
ip: RTNETLINK answers: File exists
Thu Jan 9 00:51:52 2020 ERROR: Linux route add command failed: external program exited with error status: 2
Thu Jan 9 00:51:52 2020 Initialization Sequence Completed
client.conf:
client
dev tun
proto udp
remote xxxxxxxxxxx 3504
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/clients/ca.crt
cert /etc/openvpn/clients/dmxxxxxx.crt
key /etc/openvpn/clients/dmxxxxxxx.key
cipher DES-EDE3-CBC
keepalive 3 10
ping-timer-rem
verb 3
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 0 0 0 eth0
172.16.0.0 172.16.5.101 255.255.0.0 UG 0 0 0 tun0
172.16.5.101 * 255.255.255.255 UH 0 0 0 tun0
192.168.178.0 * 255.255.255.0 U 0 0 0 eth0
192.168.178.1 * 255.255.255.255 UH 0 0 0 eth0
ip a:
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100
link/[65534]
inet 172.16.5.102 peer 172.16.5.101/32 scope global tun0
valid_lft forever preferred_lft forever
Please tell me how can I fix this error?
Thanks!!
ERROR: Linux route add command failed: external program exited with error status: 2
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jan 08, 2020 11:50 pm
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jan 08, 2020 11:50 pm
Re: ERROR: Linux route add command failed: external program exited with error status: 2
i cannot fine solution......do you have an idea?
Thanks!!!
Thanks!!!