[solved] Renaming tap devices

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
rclsilver
OpenVpn Newbie
Posts: 3
Joined: Mon Apr 02, 2012 1:58 pm

[solved] Renaming tap devices

Post by rclsilver » Mon Apr 02, 2012 2:01 pm

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.
Last edited by rclsilver on Mon Apr 02, 2012 3:47 pm, edited 1 time in total.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Renaming tap devices

Post by janjust » Mon Apr 02, 2012 3:23 pm

try

Code: Select all

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

rclsilver
OpenVpn Newbie
Posts: 3
Joined: Mon Apr 02, 2012 1:58 pm

Re: Renaming tap devices

Post by rclsilver » Mon Apr 02, 2012 3:47 pm

Hi,

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

Thanks you !

Post Reply