Hi,
I'm new to openvpn, I'm trying to figure out how to run multiple OpenVPN instances on a single machine.
When the first client connect to the server, it will create a tun0 device interface and set the IP to 10.200.4.0. For the second client, it will create a tun1 device with IP 10.200.4.0 also. How do I specify a different IP for each tun device?
-wa
How to configure tunnel ip address?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Jun 08, 2015 10:13 am
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: How to configure tunnel ip address?
Why do you need more than one OpenVPN instance ?
In your server configs use:carbotex wrote:How do I specify a different IP for each tun device?
- Server #1: --server 10.100.0.0 255.255.255.0
- Server #2: --server 10.200.0.0 255.255.255.0