Re: Openvpn clients using duplicate IPs



Mark Mackey <markm@xxxxxxxxxxxxxxxxxxxxxx> writes:

In article <6pd9v4-o0m.ln1@xxxxxxxxxxxx>, Patter <steve@xxxxxxxxxxxxxx> wrote:
I have an openvpn server with 2 clients (connecting from entirely
different networks) that use secure self-signed keys for authentication.
Each client has its own unique key yet they both accept the same IP
address from the server, so when client A connects, it kicks client B
off the VPN so then client B automatically reconnects & kicks client A
off ...

Of course. Only one machine can have an ip address at any one time. IP
addresses MUST be unique. That is how your machine knowns who to send it
to.
Set up openvpn to have two different addresses for the two machines. If you
use the simply peer to peer procedure you also have to assign different
ports as well. So, as the doctor said to the patient who complained about
getting a headache when he hit his head against the wall "Stop hitting your
head against the wall". Stop giving both the same IP.


Try giving the keys different names.

--
Mark Mackey http://www.swallowtail.org/
code code code code code code code code code code code code code bug code co
de code code code bug code code code code code code code code code code code
code code code code code code code code code code code code code code code c
.