cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1000
Views
0
Helpful
6
Replies

Help port forward IOS 12.4

tony
Level 1
Level 1

a simple port forward:

ip nat inside source static tcp 192.168.0.20 8081 interface Dailer1 8081

i am trying to get to 192.168.0.20:8081 from outside my network..what iam i missing here.

Tony Donn

attached config

I am a Cisco for Dummies case.... Please help me..
6 Replies 6

Paul Preston
Level 1
Level 1

Hi Tony,

nat rule looks fine to me, so its most likely a problem with something else like access lists or "ip nat (inside|outside)" commands assigned to interfaces.

Can you paste your running config?

Regards,

--
Paul Preston
Proxar IT Ltd. Registered in England and Wales: 6744401- VAT: 942985479
Tubs Hill House, London Road, Sevenoaks, Kent, TN13 1BL
Tel:  (+44) 0844 809 4335
Fax: (+44) 01732 468 574
Mob: (+44) 077 9509 3450
Web: www.proxar.co.uk
Email: paul.preston@proxar.co.uk

--
Paul Preston
Proxar IT Ltd. Registered in England and Wales: 6744401- VAT: 942985479
Unit 1, 205 London Road, Sevenoaks, Kent, TN13 1DW
Tel: +44 203 196 6566
Fax: (+44) 01732 468 574
Mob: (+44) 077 9509 3450
Web: www.proxar.co.uk
Email

Building configuration...

Current configuration : 1880 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Gw1

!

boot-start-marker

boot-end-marker

!

enable secret 5

enable password

!

no aaa new-model

no network-clock-participate slot 1

voice-card 0

dspfarm

no local-bypass

!

ip cef

!

!

no ip dhcp use vrf connected

ip dhcp excluded-address 192.168.0.0 192.168.0.99

!

ip dhcp pool LAN

   network 192.168.0.0 255.255.255.0

   dns-server 192.231.203.132 192.231.203.3

   default-router 192.168.0.1

!

!

ip auth-proxy max-nodata-conns 3

ip admission max-nodata-conns 3

vpdn enable

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface ATM0/0

no ip address

atm restart timer 300

no atm ilmi-keepalive

bundle-enable

dsl operating-mode auto

bridge-group 1

hold-queue 224 in

pvc 8/35

  pppoe-client dial-pool-number 1

!

!

interface FastEthernet0/0

ip address 192.168.0.1 255.255.255.0

ip nat inside

ip virtual-reassembly

speed auto

full-duplex

no mop enabled

bridge-group 1

!

interface Serial0/1

no ip address

shutdown

no fair-queue

!

interface Dialer1

ip address negotiated

ip mtu 1492

ip nat outside

ip virtual-reassembly

encapsulation ppp

dialer pool 1

ppp authentication chap callin

ppp chap hostname

ppp chap password 0

!

router rip

redistribute connected

network 192.168.0.0

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 Dialer1

!

!

no ip http server

no ip http secure-server

ip nat inside source list 1 interface Dialer1 overload

!

access-list 1 permit 192.168.0.0 0.0.0.255

dialer-list 1 protocol ip permit

dialer-list 1 protocol ipx permit

snmp-server community public RO

!

!

!

control-plane

!

bridge 1 protocol dec

!

!

!

!

!

!

!

!

!

gatekeeper

shutdown

!

!

line con 0

line aux 0

line vty 0 4

password T1fort2

login

!

!

end

Gw1#

I am a Cisco for Dummies case.... Please help me..

Reza Sharifi
Hall of Fame
Hall of Fame

Tony,

I don't see this statement in your "sh run" add it and test

ip nat inside source static tcp 192.168.0.20 8081 interface Dailer1 8081

HTH

Tony,

Please use the command below (there is a spelling mistake in the name of the interface in your command):

ip nat inside source static tcp 192.168.0.20 8081 interface Dialer1 8081

Regards,

--
Paul Preston
Proxar IT Ltd. Registered in England and Wales: 6744401- VAT: 942985479
Tubs Hill House, London Road, Sevenoaks, Kent, TN13 1BL
Tel:  (+44) 0844 809 4335
Fax: (+44) 01732 468 574
Mob: (+44) 077 9509 3450
Web: www.proxar.co.uk
Email: paul.preston@proxar.co.uk

--
Paul Preston
Proxar IT Ltd. Registered in England and Wales: 6744401- VAT: 942985479
Unit 1, 205 London Road, Sevenoaks, Kent, TN13 1DW
Tel: +44 203 196 6566
Fax: (+44) 01732 468 574
Mob: (+44) 077 9509 3450
Web: www.proxar.co.uk
Email

Good pick up Paul on my spelling..

Reza the config is before i put in ip nat insid..................

I will post current run config. as attachment

I am thinking i need something like ip nat outside source Dialer 1 8081 static tcp 192.168.0.20 8081 but i wouldnt really know..

I am a Cisco for Dummies case.... Please help me..

Good catch Paul.

Tony,

After the interface you can simply type d and then press the tab key, the router will give you the rest.  So you don't have to spell it.

Reza

Review Cisco Networking for a $25 gift card