M
M
max_wb2020-05-27 16:54:42
openvpn
max_wb, 2020-05-27 16:54:42

How to send the external ip address of an OPENVPN user when accessing a computer on the local network?

Good day. There is a computer (K1) on the local network, to which users connect from the WAN via RDP using openvpn accessing the local ip. The openvpn server (VPN) has a static ip on the local network, for example - 192.168.1.2, K1 to which they connect via RDP has an ip address - 192.168.1.3. IPBAN is installed on K1, which blocks all ip addresses from which more than 3 unsuccessful RDP authorization attempts were made. K1 displays the VPN server address in the ip logs every time a user connects, i.e. every time when connecting K1 sees ip - 192.168.1.2. The problem is that with unsuccessful authorization attempts, IPBAN will block the ip of the VPN server, while blocking access to all users at once. How can a vpn server be taught to send an external ip address to K1 or an address that openvpn issued to a user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2020-05-27
@res2001

No way. IPBAN is not needed here, the user unsuccessfully entered the password into Windows, while he has no problems with VPN.
This is done by other means. Set Windows policies (AD or local) to block the user for some time in case of N unsuccessful registrations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question