cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
592
Views
5
Helpful
6
Replies

NAT Problems, need fast help please....

itsnedkeren
Level 1
Level 1

Hi all

I have a Cisco 871W router which I need working in 5 hours max :(

So I need help! Router is online, I can access internet etc. I can SSH to the device which is @ 195.49.39.89 which is just fine.

BUT, I need to access a server behind the router which has ip adress 192.168.1.3 on port 5900(vnc service).

This is not working and I can't find where error is :(

Info:

Router external IP: 195.49.39.89

Vnc server IP: 192.168.1.3

I've been told that I'm missing some or one NAT config, but I have not the slightest clue what to do.

All help appreciated, attaching config file.

Thanks in advance.

EDIT: I have of course added my own external IP to the "ACL_OUTSIDE" access list, it's just not in the txt document.

2 Accepted Solutions

Accepted Solutions

owaisberg
Level 1
Level 1

To allow inbound access to the server

behind NAT router add this into your config:

ip nat inside source static tcp 192.168.1.3 5900 195.49.39.89 5900 extendable

Let me know if you have any issues.

Thx,

OW

View solution in original post

Hi

Configure this statement in global config i.e

router(config)#

Thanks

Mahmood

View solution in original post

6 Replies 6

owaisberg
Level 1
Level 1

To allow inbound access to the server

behind NAT router add this into your config:

ip nat inside source static tcp 192.168.1.3 5900 195.49.39.89 5900 extendable

Let me know if you have any issues.

Thx,

OW

Hi can you please be more specific, where should I configure this? Line? On an interface or?

Thanks for the fast reply :)

Hi

Configure this statement in global config i.e

router(config)#

Thanks

Mahmood

You guys are the best :) Thanks alot, it's now working and I get the job done in time. \o/

I did a post for my Cisco 1700.

Got nearly the same problem.

My server is an FTP server and i cant give port number in command

ip nat inside ....

Can anyone help me?

It will be:

ip nat inside source static tcp 192.168.1.3 21 195.49.39.89 21 extendable

ip nat inside source static tcp 192.168.1.3 20 195.49.39.89 20 extendable

HTH,

OW

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: