Hi, I am a newbee in openvpn config but i would like to complete challenging tasks. So please bear with me if I asked stupid questions
Background
I have a vultr server with 2 additional public Ips (total 3 counting in the default ip). I would like to set up 3 different .ovpn file with different public ips for my home PC/phone to use.
Lets say 3 ips are x.x.x.x; y.y.y.y and z.z.z.z. I would like my PC1 connect to x.x.x.x for all traffics, phone1 connect to y.y.y.y and padz connect to z.z.z.z. The connection could be simultaneous or not. Since I am the only user of this server, in future I would lke my multiple devices connecting with the same profile to save my workload. ( i.e. PC1 and PC2 connect to x.x.x.x using the same .ovpn file without hindering each other connection). This seem could be done with duplicate-cn paramater in server.conf.
How to????
I did a few researches on google and there seems a few solutions:
1- create a different server.conf
2- create another tunnel
3- add paramater in ccd directory
I tried them all but unfortunately not working. So would anyone provide me some information on how to achieve my goal?
FYI, i am using one-click openvpn-install.sh Angristan OpenVPN-install to install the program and create profiles. It would be much convenient to me if I could keep using this shortcut
Thanks in advance for your patience
Shivael
How to configure 3 different public IPs on an openvpn server
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Nov 08, 2023 1:20 pm