Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
reach specific url with wan address (outbound nat?)
« previous
next »
Print
Pages: [
1
]
Author
Topic: reach specific url with wan address (outbound nat?) (Read 460 times)
trezyckz
Newbie
Posts: 20
Karma: 0
reach specific url with wan address (outbound nat?)
«
on:
June 06, 2024, 11:58:27 am »
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
Logged
trezyckz
Newbie
Posts: 20
Karma: 0
Re: reach specific url with wan address (outbound nat?)
«
Reply #1 on:
June 07, 2024, 11:48:37 am »
Solved:
Had to extend the client configuration with "allow-pull-fqdn" and add the following to the Advanced settings:
Code:
[Select]
push "route DOMAIN.TLD 255.255.255.255 VPN_GATEWAY_IP"
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
reach specific url with wan address (outbound nat?)