[TriLUG] OpenVPN and CentOS 6

Brian McCullough via TriLUG trilug at trilug.org
Fri Dec 16 15:13:12 EST 2016


Folks,

Further information.  It appears that the tun device IS being created
correctly, perhaps, but fails after that point.

Here is the relevant part of the log:

Dec 16 15:13:49 web1 openvpn[22737]: ROUTE6: default_gateway=UNDEF
Dec 16 15:13:49 web1 openvpn[22737]: TUN/TAP device tun4 opened
Dec 16 15:13:49 web1 openvpn[22737]: TUN/TAP TX queue length set to 100
Dec 16 15:13:49 web1 openvpn[22737]: do_ifconfig, tt->ipv6=1,
tt->did_ifconfig_ipv6_setup=1
Dec 16 15:13:49 web1 openvpn[22737]: /sbin/ip link set dev tun4 up mtu
1500
Dec 16 15:13:49 web1 openvpn[22737]: /sbin/ip addr add dev tun4 local
10.8.0.90 peer 10.8.0.89
Dec 16 15:13:49 web1 openvpn[22737]: /sbin/ip -6 addr add
a:real:ad::dress/64 dev tun4
Dec 16 15:13:49 web1 openvpn[22737]: Linux ip -6 addr add failed:
external program exited with error status: 2
Dec 16 15:13:49 web1 openvpn[22737]: Exiting due to fatal error


ip a does not show tun4, but does show tun0-3, which were, probably,
created with my experimenting.  From that, I would think that OpenVPN is
properly creating tun4.

In CentOS 6, are tun devices restricted to IPv4 ONLY?


Brian



More information about the TriLUG mailing list