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

x
  • 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 - 192.168.1.68, 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
!
boot-start-marker
boot-end-marker
!
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
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.254
   dns-server
!
!
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
!
archive
 log config
!
interface ATM0
 ip address 119.75.a.b 255.255.255.252
 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
 description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
 ip address 192.168.1.254 255.255.255.0 secondary
 ip address 119.73.b.c 255.255.255.240
 ip nat inside
 ip virtual-reassembly
 ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 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 192.168.1.0 0.0.0.255 any
cdp run
!
control-plane
!
!
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
end

Thanks,
0
MichaelBalack
Asked:
MichaelBalack
1 Solution
 
rauenpcCommented:
ip nat inside source static tcp 192.168.1.68 5000 interface ATM0 5000 extendable

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

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