One server, 2 client connecting and get the same IP
Having issues with my OpenVPN server in that when i connect any more than one client to it they all get the same IP, 10.0.0.2/24. The default gateway is 10.0.01/24. Ill paste the links to he screenshots of my server config. The clients all have separate certificates all under the same user. The VPN also has an interface configured for it, set to a static IPv4 10.0.01/24
Note - The only change in the config from the above images is the gateway creation is IPv4 only and the logging level is 3
Any ideas whats causing the issue, am I basically being an idiot
viragomann last edited by
If the clients have the same user names check "Duplicate connection" in the server settings.
Thank you so much, i thought not to tick that as each cert had a unique common name, I didnt realise it was username specific too
Rico LAYER 8 Rebel Alliance last edited by
You should NOT give any IP Configuration to the assigned OpenVPN Inerface (check https://www.netgate.com/docs/pfsense/book/openvpn/assigning-openvpn-interfaces.html).
Why don't you just hand out one separate pfSense local User for each of your real User? This will add more Security and you are able to give different access rights based on Firewall Rules.