Problems with openvpn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
I just found out my openvpn doesn't work normally.
When I run `sudo openvpn --config client.ovpn', openvpn has the following
output:
```
Fri Aug  1 21:36:34 2014 TUN/TAP device tun0 opened
Fri Aug  1 21:36:34 2014 TUN/TAP TX queue length set to 100
Fri Aug  1 21:36:34 2014 do_ifconfig, tt->ipv6=0,
tt->did_ifconfig_ipv6_setup=0
Fri Aug  1 21:36:34 2014 /usr/bin/ip link set dev tun0 up mtu 1500
Fri Aug  1 21:36:34 2014 /usr/bin/ip addr add dev tun0 local 10.0.3.22 peer
10.0.3.21
Fri Aug  1 21:36:34 2014 ROUTE remote_host protocol differs from tunneled
Fri Aug  1 21:36:34 2014 /usr/bin/ip route add 0.0.0.0/1 via 10.0.3.21
Fri Aug  1 21:36:34 2014 /usr/bin/ip route add 128.0.0.0/1 via 10.0.3.21
Fri Aug  1 21:36:34 2014 /usr/bin/ip route add 10.0.3.0/24 via 10.0.3.21
Fri Aug  1 21:36:34 2014 Initialization Sequence Completed
```
Then I run `ip route', and I cannot see `0.0.0.0/1 via 10.0.3.21' in the
list, although I can then add it manually.

I did another test. I move /usr/bin/ip to /usr/local/bin/ip, and wrote
/usr/bin/ip as
```
#!/bin/sh
sleep 1
/usr/local/bin/ip "$@"
```
And this time openvpn can add the route normally.

Can someone tell me what's wrong with it?

Thanks,
Iru


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux