[TriLUG] OpenVPN and CentOS 6

Stephen Bryant via TriLUG trilug at trilug.org
Thu Dec 15 11:36:37 EST 2016


This is probably a dumb question, but have you run ```modprobe tun```?

If so, I seem to recall an ```openvpn mktun``` command, as well as ```ip tunnel add tun0```. I too am a Debian user though, so not much CentOS/RHEL knowledge.

--
Stephen



> On Dec 15, 2016, at 11:10 AM, Brian McCullough via TriLUG <trilug at trilug.org> wrote:
> 
> I should have asked here a long time ago ( at least a week! ), but
> better late....
> 
> 
> I am trying to set up OpenVPN on a CentOS 6 machine, and have run into
> an issue.
> 
> I have been using Debian-based machines much more than RedHat-based ones
> lately, so am a bit lost.
> 
> I am running into an issue where the tun0 device is missing.  Of course,
> when OpenVPN ( which I installed with yum ) tries to start, it fails.
> 
> When I look at /dev, there are none, but in /dev/net, there is a tun
> device.
> 
> From advice, I added ifcfg-tun0, with the following:
> 
> DEVICE="tun0"
> BOOTPROTO="none"
> ONBOOT="no"
> 
> 
> but that doesn't seem to help.
> 
> If I try "ifup tun0" I get:
> Device tun0 does not seem to be present, delaying initialization.
> 
> My searching doesn't seem to find anything particularly relevant,
> talking about GRE tunnels and the like, and seem to be concentrating on
> TAP, not TUN.
> 
> 
> I even tried adding TYPE="tun" to the ifcfg-tun0 file, but no help.
> 
> 
> Suggestions, etc?
> 
> 
> Thank you,
> Brian
> 
> 
> ----- End forwarded message -----
> --
> This message was sent to: Stephen Bryant <stephen at stephenbryant.net>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web	: http://www.trilug.org/mailman/options/trilug/stephen%40stephenbryant.net
> Welcome to TriLUG: http://trilug.org/welcome

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.trilug.org/pipermail/trilug/attachments/20161215/8b9d4e3c/attachment.pgp>


More information about the TriLUG mailing list