Allow VNC access to inside PC from the internet?

Unanswered Question
Nov 20th, 2007
User Badges:

I have a Cisco 837 just for home internet use. How can I allow VNC access (5800) or remote desktop (3389) from an external IP to my PC. Do I have to do port forwarding or something?


Attached is my config, I want to allow external IP 1.2.3.4 to my laptop on the VNC ports and remote desktop.


Thanks



Attachment: 
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
JORGE RODRIGUEZ Tue, 11/20/2007 - 14:09
User Badges:
  • Green, 3000 points or more

You could try this , say local information is, Local IP: 192.168.2.100 , Global interface: dialer1



ip nat source static 192.168.2.100 interface dialer1


to permit any from outside to 192.168.2.100 on port 3389 rdp.


access-list 104 permit tcp any 192.168.2.100 0.0.0.255 eq 3389 log


int dialter1

ip access-group 104 in



or


same static nat.


access-list 104 permit tcp host 1.2.3.4 host 192.168.2.100 eq 3389 log


int dialter1

ip access-group 104 in



HTH

Jorge


whiteford Tue, 11/20/2007 - 14:23
User Badges:

Thanks, the router gives out DHCP so I guess I would just give it a static ip like 192.168.2.101 as 192.168.2.100 is the router ip and add your rules?

JORGE RODRIGUEZ Tue, 11/20/2007 - 16:07
User Badges:
  • Green, 3000 points or more

Yes, also make sure when configuring static in the PC that it also have dns information as well so that it can get to outbound internet, do c:\ipconfig /all on the other machines and take note of dns information.


Rgds

Jorge

Actions

This Discussion