Page 1 of 1

How to configure tunnel ip address?

Posted: Mon Jun 08, 2015 10:17 am
by carbotex
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

Re: How to configure tunnel ip address?

Posted: Fri Jun 12, 2015 11:04 am
by Traffic
Why do you need more than one OpenVPN instance ?
carbotex wrote:How do I specify a different IP for each tun device?
In your server configs use:
  • Server #1: --server 10.100.0.0 255.255.255.0
  • Server #2: --server 10.200.0.0 255.255.255.0