Discussion:
[Openvpn-users] [EXTERNAL] Re: Custom Tun Interface name while establishing client connection
Lamsoge, Abhijit
2017-04-20 05:24:44 UTC
Permalink
Hi,
Thanks for the pointer.

The solution is to define in config file(in my case client.conf) while spawning openvpn daemon.
“dev tun<whatever-name-string>” instead of “dev tun”

Abhijit
From: ***@mindef.nl [mailto:***@mindef.nl]
Sent: Wednesday, April 19, 2017 9:59 PM
To: Lamsoge, Abhijit <***@harman.com>
Subject: [EXTERNAL] Re: [Openvpn-users] Custom Tun Interface name while establishing client connection

Yes, that is possible, see the man-page.

Verstuurd vanaf mijn iPhone

Op 19 apr. 2017 om 15:43 heeft Lamsoge, Abhijit <***@harman.com<mailto:***@harman.com>> het volgende geschreven:

Hi All,

I want to create multiple VPN client connections from Host A to different VPN servers at the same time.

So for ex:

Local Machine -> VPN-Germany

Local Machine-> VPN-US

Local Machine-> VPN-Russia

and so on.



I am able to create these multiple connection at the same time.

With interfaces getting created like tun0, tun1, tun2 etc.



I wanted to know

1) If its possible to provide the name of TUN interface while creating such connections ? Like VPN to Germany may create "tunGermany" as interface name instead of "tun0" while establishing a connection ?



Note:- At this point I am not much worried about default gateway and packet routing.



Thanks.



Abhijit




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot<https://clicktime.symantec.com/a/1/eMmSD8CsosEvoA0TrjYfwsxRn9pB3ZLkmHVxnZziYv0=?d=ObARdnctDB03PFRfOd9kBO3nRj1GKwaAC4wkMVM9RwgVbJbhdw_r78SDgkLZtnPjMb5z0V3zUoMgH61KCKaB60V2uNomdyiD_o-x8nEHwlPCcFW8-3IzTBfWfpWEnO0zdiKHZCqiQx57EzjIYvA_aJph6HkTgS5ejzTIXuXi4kWgW_d5jTfES5BxZSh17LGHSZTflfo2bd6CAhSUHHEtK00CaKloYue2PFNEQbHtWw7ej_vha0rscSOIE12mGqpE0j93zbs2zE784uWdVQ_72sDiv2StUN549WgpTmRTMGRlYVwl7XQLF5K9v0f2j-Ii2El465gXtLjo4eGc01A7HvFiDHSOwd7MWU9x5LwNn9JHCzVUDgMCASVa5Q9oQDkBxIt50INcUmwkWa1vuh9H9TEq7vjIbJCDHTSo7ieUxbRAPCnjpo3eT0hScw%3D%3D&u=http%3A%2F%2Fsdm.link%2Fslashdot>
_______________________________________________
Openvpn-users mailing list
Openvpn-***@lists.sourceforge.net<mailto:Openvpn-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/openvpn-users<https://clicktime.symantec.com/a/1/EO0SeyAiacmfMyh834XZZSIdIWTebx2ejGSQ4wEDFPI=?d=ObARdnctDB03PFRfOd9kBO3nRj1GKwaAC4wkMVM9RwgVbJbhdw_r78SDgkLZtnPjMb5z0V3zUoMgH61KCKaB60V2uNomdyiD_o-x8nEHwlPCcFW8-3IzTBfWfpWEnO0zdiKHZCqiQx57EzjIYvA_aJph6HkTgS5ejzTIXuXi4kWgW_d5jTfES5BxZSh17LGHSZTflfo2bd6CAhSUHHEtK00CaKloYue2PFNEQbHtWw7ej_vha0rscSOIE12mGqpE0j93zbs2zE784uWdVQ_72sDiv2StUN549WgpTmRTMGRlYVwl7XQLF5K9v0f2j-Ii2El465gXtLjo4eGc01A7HvFiDHSOwd7MWU9x5LwNn9JHCzVUDgMCASVa5Q9oQDkBxIt50INcUmwkWa1vuh9H9TEq7vjIbJCDHTSo7ieUxbRAPCnjpo3eT0hScw%3D%3D&u=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fopenvpn-users>

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
Loading...