Create multiple OpenVPN tunnels

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
DouglasCruz
OpenVpn Newbie
Posts: 6
Joined: Tue Jan 25, 2022 9:07 pm

Create multiple OpenVPN tunnels

Post by DouglasCruz » Fri Mar 25, 2022 8:34 pm

Hello,
I have a question about OpenVPN tunnels. If someone could clarify for me, since until now I did not find clear information.
I give you an example. If we want to see the LAN network of a client, we must create a file in the “ccd” directory on the server. Once created and added some lines, the server must be restarted so that it accepts the configuration. The problem is that on reboot all clients within the server are disconnected and reconnected and I want to avoid that.
Is it possible to create multiple tunnels on the OpenVPN server? For example, yes:
• Carlos and Pedro are in “dev tun1”
• Maria and Juan are in “dev tun2”
• Marco and Roberto are in “dev tun3”
If this were possible, we would avoid restarting the entire server, only the tunnels that we have modified. Or what would be another option?
Could you help me out of this doubt, please? If you have an example of a page I would appreciate it.
Thanks in advance.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Create multiple OpenVPN tunnels

Post by TinCanTech » Sat Mar 26, 2022 2:23 am

Sorry .. OpenVPN cannot use a crystal ball for you.

Post Reply