How to Perform Port Forwarding in a Cisco PIX Firewall

How to perform port forwarding in a Cisco PIX Firewall

CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA

Let’s say you have an internal server sitting in the inside interface at IP address 192.168.1.200 and you are able to access this server from within your local network using this URL:

https://192.168.1.200/myservice

Now that you are planning to allow this access from the outside using port 10443, perform the followings:

name 192.168.1.200 I_SERVICESERVER

static (inside,outside) tcp interface 10443 I_SERVICESERVER https netmask 255.255.255.255 0 0

Now you should be able to access the server using the following URL from the Internet:

https://100.22.45.199:10443/myservice

This assumes that the IP address 100.22.45.199 is the public IP address for the OUTSIDE interface for NAT.