NAT Problems, need fast help please....

Answered Question
Apr 4th, 2007

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.



Correct Answer by mahmoodmkl about 9 years 11 months ago

Hi


Configure this statement in global config i.e


router(config)#


Thanks

Mahmood

Correct Answer by owaisberg about 9 years 11 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
owaisberg Wed, 04/04/2007 - 09:19

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

itsnedkeren Wed, 04/04/2007 - 09:32

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


Thanks for the fast reply :)

Correct Answer
mahmoodmkl Wed, 04/04/2007 - 09:37

Hi


Configure this statement in global config i.e


router(config)#


Thanks

Mahmood

itsnedkeren Wed, 04/04/2007 - 09:44

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

alban.lemaire Thu, 04/05/2007 - 05:18

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?

owaisberg Thu, 04/05/2007 - 05:56

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

Actions

This Discussion