Skip to main content

Port Forward

Problem

Port-forward firewall outside, port 5000 to inside IP 192.168.1.100, port 8080.

Solution

conf t
static (inside,outside) tcp interface 5000 192.168.1.100 8080 netmask 255.255.255.255 0 0
access-list outside_acl extended permit tcp any host $OUTSIDEIP eq 8080
exit

(Change $OUTSIDEIP appropriately.)

This pre-supposes that the acl outside-acl is the active ACL for the outside interface.