cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
372
Views
0
Helpful
4
Replies

Help me with port forwarding please?

cventicinque
Level 1
Level 1

Hello all.

I have a Cisco 1605r connected to a cable modem to share my internet connection. I am trying to play a flight sim that requires me to forward 2 udp ports (2934 and 2935) to the PC that I am playing the game on. I tried to add what I thought was the right configuration change but, its still not working. If any of you could review my config and the output from "sh ip nat translations" to help me fix this, I would really appreciate it.

Thank You, Chris

Here we go...

1605r#sh run

Building configuration...

Current configuration : 1804 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname 1605r

!

enable secret 5

!

ip subnet-zero

no ip source-route

ip name-server

ip name-server

ip name-server

!

no ip bootp server

!

!

!

!

interface Ethernet0

ip address dhcp

no ip proxy-arp

ip nat outside

no cdp enable

!

interface Ethernet1

ip address 192.168.1.1 255.255.255.0

no ip proxy-arp

ip nat inside

no cdp enable

!

ip nat inside source list 1 interface Ethernet0 overload

ip nat inside source static udp 192.168.1.101 2935 interface Ethernet0 2935

ip nat inside source static udp 192.168.1.101 2934 interface Ethernet0 2934

ip nat inside source static tcp 192.168.1.101 3724 interface Ethernet0 3724

ip nat inside source static tcp 192.168.1.101 6112 interface Ethernet0 6112

ip nat inside source static tcp 192.168.1.101 6881 interface Ethernet0 6881

ip classless

ip route 0.0.0.0 0.0.0.0 216.254.117.1

no ip http server

!

access-list 1 permit 192.168.1.0 0.0.0.255

no cdp run

banner login ^CC

^C

!

line con 0

password

login

line vty 0 4

exec-timeout 0 1

no login

no exec

transport input none

!

end

And here is the output from

sh ip nat translations | inc 2935

and

sh ip nat translations | inc 2934

x.x.x.x is my dhcp assigned address from my isp:

udp x.x.x.x:2935 192.168.1.101:2935 --- ---

udp x.x.x.x:2934 192.168.1.101:2934 65.49.176.170:1157 65.49.176.170:1157

udp x.x.x.x:2934 192.168.1.101:2934 --- ---

Does everything look ok on my end?

Thanks for any help in advance! :)

4 Replies 4

kamlesh.sharma
Level 3
Level 3

I think you are missing extendable keyword after ip nat inside source static command.Please try it.

ip nat inside source static udp 192.168.1.101 2935 interface Ethernet0 2935 extendable

ip nat inside source static udp 192.168.1.101 2934 interface Ethernet0 2934 extendable

ip nat inside source static tcp 192.168.1.101 3724 interface Ethernet0 3724 extendable

ip nat inside source static tcp 192.168.1.101 6112 interface Ethernet0 6112 extendable

ip nat inside source static tcp 192.168.1.101 6881 interface Ethernet0 6881 extendable

Bcos you are mapping different port to same inside ip addresses.

If it works let me know

Thanks & Regards

I tried to modify the line but it told me that invalid input was detected.

Maybe my IOS is to old?

Cisco Internetwork Operating System Software

IOS (tm) 1600 Software (C1600-K8OSY-M), Version 12.2(23), RELEASE SOFTWARE (fc2)

Thank You, Chris

It appears to be working now. Thanks for you help. I guess it was a server side issue or a non network problem I was having :)

good luck it is working

Still crish can you check your router config i think extandable command is now added.can you post your config.

THnaks in advance

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card