Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am trying to setup Appgate Ip tunneling driver on my ubuntu 12.04 by following appgate instructions listed below:

Installation, Linux

Make sure the kernel has support for the Universal TUN/TAP device driver, and then log in as root and create a new directory somewhere, and copy the files


into that directory. Then start the IPTD daemon by doing

 modprobe tun

There is also an init script 'ag_iptd.init' that can be installed to automatically start the IPTD daemon every time the OS is loaded.Please check the documentation of your Linux distribution on howto do this.

so is there any way to checkif my ubuntu 12.04 kernel has support for the Universal TUN/TAP device driver? and how to do so? Thanks,

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The tun/tap driver is standard in the generic 12.04 kernel: to check, enter

grep tun /var/log/kern.log

which will return

kernel: [2.317151] tun: Universal TUN/TAP device driver, 1.6
kernel: [2.317153] tun: (C) 1999-2004 Max Krasnyansky <>

I have recently tried a VPN and set it up by installing openvpn and specifying the settings, etc, and the tun/tap IP tunnelling driver is used automatically. By default the network-manager log will go to /var/log/syslog, so that will contain information about when your network connection is up or when it changes, say when you connect to a VPN. That log will have IP and DNS information about the new connection and whether it is using the tun/tap driver.

share|improve this answer
Thanks Mik, that was very useful :) – nmaybar Nov 20 '12 at 13:30
Yes, I tried modprobe tunand didn't return any value. Doing this test i see that tun module is loaded. My problem was running openvpn w/o root. Thanks. – erm3nda May 18 at 22:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.