Hi,
I have been trying to setup OpenVPN to assign static IP to VPN users. I have tried using Client Specific Overrides as follows:
Common name set as username,
IPv4 Tunnel Network set as a subnet of main tunnel (IPv4 Tunnel Network on Server is x.y.z.0/24, and this subnet is x.y.z.256/30)
I have tried with setting up IPv4 Local network set as nothing and x.y.z.258/32
I have also tried setting up advanced settings with "ifconfig-push x.y.z.257 x.y.z.258", "ifconfig-push x.y.z.258 x.y.z.257", "ifconfig-push x.y.z.257 255.255.255.0" and "ifconfig-push x.y.z.257 255.255.255.255"
I have tried restarting OpenVPN service
So far nothing works.
Do I have to re-create the .ovpn file and import again? Do I have to generate user certificates? Currently I have setup to use only username/password as authentication method.
Any help will be greatly appreciated.
I am new to OpnSense, so if you need any configs and logs, I would appreciate if you can point me the location of those files.
Apologies for my language.
I have been trying to setup OpenVPN to assign static IP to VPN users. I have tried using Client Specific Overrides as follows:
Common name set as username,
IPv4 Tunnel Network set as a subnet of main tunnel (IPv4 Tunnel Network on Server is x.y.z.0/24, and this subnet is x.y.z.256/30)
I have tried with setting up IPv4 Local network set as nothing and x.y.z.258/32
I have also tried setting up advanced settings with "ifconfig-push x.y.z.257 x.y.z.258", "ifconfig-push x.y.z.258 x.y.z.257", "ifconfig-push x.y.z.257 255.255.255.0" and "ifconfig-push x.y.z.257 255.255.255.255"
I have tried restarting OpenVPN service
So far nothing works.
Do I have to re-create the .ovpn file and import again? Do I have to generate user certificates? Currently I have setup to use only username/password as authentication method.
Any help will be greatly appreciated.
I am new to OpnSense, so if you need any configs and logs, I would appreciate if you can point me the location of those files.
Apologies for my language.
"