Clients get same IPs - TrueNAS Core onboard OVPN-Server

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
BazzT
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 23, 2023 7:36 am

Clients get same IPs - TrueNAS Core onboard OVPN-Server

Post by BazzT » Mon Jan 23, 2023 8:10 am

Hello,

i run a TrueNAS Core 13.0-U3.1 and the onboard OpenVPN Server at home. I am new with both Systems.
For the OpenVPN Setup ive followed this Tutorial https://www.youtube.com/watch?v=YEkfW4aC9Rk.
It kind of "works", and i can connect. But the Clients get the same IP Adress in my Servers Subnet 192.168.137.0/24 they all get 192.168.137.2.
Every client uses a seperate Client Certificate (same Root Certificate) but the user and groop of the exported openVPNClientConfig.ovpn will be the same "nobody".
Where can i change the User used for the certificate in TrueNAS/OpenVPNServer.
Will a change of nobody to testuser1/2/3 with an Text editor of the openVPNClientConfig.ovpn help to get seperate IPs?

More Information can be hand out later. Please ask for it, so i know what u need.

EDIT:
And is there a way of getting Broadcast trough the VPN Network?
I have read this https://www.secure-computing.net/wiki/i ... PN/Routing should i change my networks from 192.168.XXX.0 (when XXX is NOT 0 or 1) to 10.XXX.YYY.0. Some of my clients use 10. Home Networks, its shorter to write, so i wont like to use one too. and i know no one using 117, 127 or 137... The chance that someone is using the same Network is random or not?


Kind regards,
BazzT

Post Reply