Page 1 of 1

2 instances on the same server but disallow cross connect

Posted: Wed Mar 25, 2020 2:29 pm
by phille05
Hi All,

Maybe the Subject isn't that all clear, so I try to explain my question using an example

1 server
2 instances (A and B) running both on a different port 1194 and 1195

When I create keys for a client this client can connect to both instances, I don't want this
I want to prevent a user to connect to both, and only to 1 that I choose

The reason : I have tech users and administrative emps, it's qute obvious an office manager should not be able o connect to a tech lan :-)

Re: 2 instances on the same server but disallow cross connect

Posted: Wed Mar 25, 2020 2:32 pm
by Pippin

Re: 2 instances on the same server but disallow cross connect

Posted: Wed Mar 25, 2020 2:58 pm
by TinCanTech
I don't think he has any configs to share .. mostly on account of having not read the howto.

This is work which I can setup for a fee.

Re: 2 instances on the same server but disallow cross connect

Posted: Wed Mar 25, 2020 3:08 pm
by phille05
this shouldn't be hard to do myself, I think I need to initiate a server setup for both instance from scratch, problem is : how to create the keys

Re: 2 instances on the same server but disallow cross connect

Posted: Wed Mar 25, 2020 3:10 pm
by phille05
question has been discussed in the past, just noticed this post
viewtopic.php?t=21967

Re: 2 instances on the same server but disallow cross connect

Posted: Thu Mar 26, 2020 8:13 am
by phille05
I've been playing around a bit and actually it's very and quite simple

if you know how to start and configure all instances everything else is just a matter of 4 important files : ca.crt xxxx.pem server.key and server.crt
use these 4 files on the correct instance and simply keep using your client keys and crt