with the static command and an access-list
for example if you outside interface was 92.148.146.99 and your server was 192.168.1.5
static (Inside,Outside) tcp interface 3000 192.168.1.5 3000 netmask 255.255.255.255
access-list Outside_In extended permit tcp any host 92.148.146.99 eq 3000
static (Inside,Outside) tcp interface 1000 192.168.1.5 1000 netmask 255.255.255.255
access-list Outside_In extended permit tcp any host 92.148.146.99 eq 1000
No comments:
Post a Comment