Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1837
  • Last Modified:

How to port-forwarding using Cisco Router?

This is using Cisco Router 877, on ADSL Internet line. The router has been setup and is running at the moment. However, we want to port forward port 5000 to one of  application server -, how can I do it from here?

Please see the config:

sh run
Building configuration...

Current configuration : 3574 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
hostname Sole
logging buffered 51200 warnings
enable secret 5 $1$xTbm$XFph6wK29ShfcZC0vpYa//
no aaa new-model
dot11 syslog
ip cef
no ip dhcp use vrf connected
ip dhcp pool sdm-pool
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
no ip domain lookup
ip domain name yourdomain.com
username admin privilege 15 secret 5 $1$rSzD$tQtoI1lvS7lAmV4v5kdBH0
 log config
interface ATM0
 ip address 119.75.a.b
 ip nat outside
 ip virtual-reassembly
 no atm ilmi-keepalive
 pvc 8/35
  protocol ip 119.75.a.c broadcast
  encapsulation aal5snap
 dsl operating-mode auto
interface FastEthernet0
interface FastEthernet1
interface FastEthernet2
interface FastEthernet3
interface Vlan1
 ip address secondary
 ip address 119.73.b.c
 ip nat inside
 ip virtual-reassembly
 ip tcp adjust-mss 1452
ip forward-protocol nd
ip route 119.75.a.d
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 101 interface ATM0 overload
access-list 101 permit ip any
cdp run
line con 0
 login local
 no modem enable
line aux 0
line vty 0 4
 privilege level 15
 login local
 transport input telnet ssh
scheduler max-task-time 5000

1 Solution
ip nat inside source static tcp 5000 interface ATM0 5000 extendable

Change tcp to udp if necessary.
MichaelBalackAuthor Commented:
It works

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now