Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Inbound NAT with Port Redirection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Inbound NAT with Port Redirection

L2 Linker

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 ??

 

 

 

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

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)

 

port translate.png

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

3 REPLIES 3

Cyber Elite
Cyber Elite

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)

 

port translate.png

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

@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 ??

 

 

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

 

port source specific.png

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 1 accepted solution
  • 3041 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!