O
O
ofstad2020-11-13 13:02:53
openvpn
ofstad, 2020-11-13 13:02:53

How to set up access to the server when connecting via vpn so that dhcp does not take up the address?

Hello.
There is currently an openvpn server on pritunl. + there is mikrotik rb4011
Server address 192.168.0.5, a couple of local services are spinning there. And sometimes, before connecting to vpn, this address is already taken at the employee's home.
At the moment, dns is not configured in windows server.
The question arises, how to set up redirection so that access from one local ip is redirected to one server port, and from another to another port? Then it will be possible to start a local dns.
Or if there is another solution that will allow you to postpone the implementation of DNS (preferably, for your own reasons) and configure it so that it does not affect users (change of addresses, etc.), then I will be glad to hear.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mikes, 2020-11-13
@mikes

separate networks of servers, locales and employees and route them.
do not shove people into 1 l2 with servers, and even where there is dhcp

A
Alexey Dmitriev, 2020-11-13
@SignFinder

"openvpn server on pritunl.
The server address is 192.168.0.5, a couple of local services are spinning there. And sometimes, before connecting to vpn, this address is already taken at the employee's home."
Address the server by ip of its openvpn interface, and not by 192.168.0.5.
But there is only one cardinal solution - changing the subnet either at the employee's home or in the subnet where the server is.

L
lossyy, 2020-11-15
@lossyy

It is highly likely that if your vpn server had the address 192.168.0.195, it would not intersect with the IP of typical home office employees.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question