routing port, example: 80 for web server

# telnet 192.168.1.254 // it's the address of my modem - provided from INTERNET PROVIDER - from home.
//and then:

nat mapadd intf=Internet type=napt outside_addr=192.168.1.65 inside_addr=192.168.10.102 foreign_addr=89.122.xxx.xxx protocol=tcp outside_port=80 inside_port=80 mode=auto

// where 89.122.xxx.xxx is my static ip from INTERNET PROVIDER and 192.168.1.65 is my second router from home. 192.168.10.102 is my web server ip provided from my own router and 192.168.1.65 is the ip that router received from the modem ( ofcourse configured by me to have a static one not assigned by DHCP from modem).

Comments