reach specific url with wan address (outbound nat?)

Started by trezyckz, June 06, 2024, 11:58:27 AM

Previous topic - Next topic
Hey folks,

we have a customer which development site is hosted on azure and the ip address changes often. We are only able to access this development site if we are coming from our VPN ip.

Is there a way to create a outbound rule for a url instead of a ip/host, so when a vpn connected employee visits the site, his Outbound IP is the VPN IP?

I thought it will may work to create a URL Alias (Firewall -> Aliases) which has the url as content and then create a Outbound NAT rule where source is the VPN net, destination is the URL alias and translation is the VPN ip.

Is that something that could work?

Best regards

Solved:

Had to extend the client configuration with "allow-pull-fqdn" and add the following to the Advanced settings:
push "route DOMAIN.TLD 255.255.255.255 VPN_GATEWAY_IP"