Page 1 of 1

[solved] Renaming tap devices

Posted: Mon Apr 02, 2012 2:01 pm
by rclsilver
Hi,

I've severals openvpn servers on a qemu/kvm hypervisor. For virtualization working, i've a udev rule which add all tap devices into a bridge.

I would like rename openvpn tap device (currently tap0, tap1...) to something like vpn0, vpn1...

How can achieve this ?

Thanks you for your support.

Re: Renaming tap devices

Posted: Mon Apr 02, 2012 3:23 pm
by janjust
try

Code: Select all

dev vpn0
dev-type tap
in the configuration file.
The downside is that the automatic numbering no longer works.

Re: Renaming tap devices

Posted: Mon Apr 02, 2012 3:47 pm
by rclsilver
Hi,

Yes, i solved my problem there is one hour ago... I've not had time to post a reply here !

Thanks you !