OPNsense Forum

English Forums => Virtual private networks => Topic started by: bdario on August 10, 2024, 12:18:35 PM

Title: OpenVPN static IP using Viscosity client [closed]
Post by: bdario on August 10, 2024, 12:18:35 PM
environment:
OPNsense 24.7.1-amd64
FreeBSD 14.1-RELEASE-p3
OpenSSL 3.0.14
Vicosity client 1.11.2 (1820)
PC Windows 11

target:
always assign the same IP to the VPN client

Hello folks,
until today for VPN road warrior I used the OpenVPN client and to always assign the same IP address to the clients I configured the file /var/etc/openvpn-csc/1/username with the directive
ifconfig-push <client IP> <netmask>.

Following https://docs.opnsense.org/manual/how-tos/sslvpn_client.html I tried using the Viscosity client and the solution (/var/etc/openvpn-csc/1/username) doesn't work so I ask for help to solve the issue.

Thanks so much for the kind help.
Greetings.
Dario
Title: Re: OpenVPN static IP using Viscosity client [solved]
Post by: bdario on August 10, 2024, 01:30:05 PM
configuring vpn server with Device mode = tap it works fine