Doubts about OpenVPN

v7
openvpn

(Pedro Sitan) #1

NethServer Version: 7.4.1708
Module: OpenVPN

I have configured OpenVPN roadwarrior as follows;

And I have configured transparent proxy with web filtering;

And its works perfectly on the remote client

However, where I have a problem, it is in the IP allocation part, because according of the openvpn client, I should assign it the reserved IP configurated in the server, however it assignis a random one, so I can not assign the correct filter to the correct IP of the openvpn client, I need connect 8 clients, two without limits and the others blocked all.

I was created the firewall objects with the IP clients reserved

Sorry for my bad english.


(Filippo Carletti) #2

AFAIK, due to ms windows limitations, you can only assign some specific ip addresses from the openvpn pool.
Search for “/30” in openvpn howto (https://openvpn.net/index.php/open-source/documentation/howto.html).
As you can see 192.168.15.2 should work, while 192.168.15.3 should not.


(Pedro Sitan) #3

It is strange, because if I use client 1 which is 15.2 in theory it should work, however, assigned the ip 15.9 or 15.10 but in the openvpn connection panel it shows me this:


(Filippo Carletti) #4

This may be a visualization bug.
Please check on the client which ip is it using (ipconfig).


(Pedro Sitan) #5

Assign this IP