OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: rowansc1 on March 19, 2023, 09:11:45 PM

Title: Specify OpenVPN Public IP
Post by: rowansc1 on March 19, 2023, 09:11:45 PM
Hello!

I currently have a OpenVPN server configured on OPNSense to allow access to the internal subnets and route all traffic through the VPN. This works great. However, it is currently using the default IP address assigned to the firewall. I'd like for it to use one of the virtual IPs I've assigned to the firewall instead. How would I do this? I cannot see any good way for this to happen.

Thanks!
Title: Re: Specify OpenVPN Public IP
Post by: rowansc1 on March 20, 2023, 05:38:01 PM
I've got this to work now.
I created an outbound NAT rule to redirect everything using the internal range of the VPN server to be using the virtual IP address