1
20.1 Legacy Series / Re: Assign static IP to OpenVPN user
« on: November 23, 2020, 10:39:43 am »
Hi,
Thanks for your response.
In regards to IP I orignally posted, they were typos, I meant 158 and so on. Apologies for that mistake.
The topology is configured to subnet. I have set the following
I tried setting this up from GUI (VPN>OpenVPN>Client Specific Override><username>>Advanced Settings, but it does not work.
Then I created a file with <username> as filename in /var/etc/openvpn-csc/1/ and put the line in it. After this, it works flawlessly.
P.S.
I have upgraded the system to OPNsense 20.7.3 after my original post
So far, I have been using this method as a workaround, because I don't have a lot of users for this VPN server. However, I would like to have more permanent solution where I can set this up using GUI.
Thanks for your response.
In regards to IP I orignally posted, they were typos, I meant 158 and so on. Apologies for that mistake.
The topology is configured to subnet. I have set the following
Code: [Select]
ifconfig-push x.y.z.158 255.255.255.0
I tried setting this up from GUI (VPN>OpenVPN>Client Specific Override><username>>Advanced Settings, but it does not work.
Then I created a file with <username> as filename in /var/etc/openvpn-csc/1/ and put the line in it. After this, it works flawlessly.
P.S.
I have upgraded the system to OPNsense 20.7.3 after my original post
So far, I have been using this method as a workaround, because I don't have a lot of users for this VPN server. However, I would like to have more permanent solution where I can set this up using GUI.