- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-10-2017 05:44 AM
Dears,
I want to publish a web server to the internet over port 443 and direct the inbound traffic to the port 80 on the server. How that can be done in both PAN OS v7 and v8 ??
07-10-2017 05:56 AM - edited 07-10-2017 05:57 AM
simply create a NAT policy as you would normally, but add a pre-nat port to the 'original packet' column (port 443 already has 'service-https' preconfigured in the services) and then add a port to the 'translated packet' column which the server is listeing on (eg. 8443)
07-10-2017 05:56 AM - edited 07-10-2017 05:57 AM
simply create a NAT policy as you would normally, but add a pre-nat port to the 'original packet' column (port 443 already has 'service-https' preconfigured in the services) and then add a port to the 'translated packet' column which the server is listeing on (eg. 8443)
07-10-2017 06:52 AM
@reaper it worked well. Thanks a lot.
i have another senario here, i have some internet users with specific public IPs, i need to direct them only to a spesific internal server.
in another world all who will access my site at 1.1.1.1 will go to 192.168.1.5 and for some specific public IPs they should go to 192.168.1.10
Is that applicable ??
07-10-2017 07:23 AM
ofcourse!
nat (all) policies are processed top to bottom and the rule that is hit first will apply
so if you set a policy first with the specific source IP addresses in the 'original packet', you can change the NAT translation for those sources, then set the 'any' policy below that for everyone else
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!