Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tightvnc behind cisco router.

Status
Not open for further replies.

Stryke3

MIS
Jun 12, 2003
15
0
0
US
Okay here's where i'm at;
I've set up a tightvnc server in my private network.
I have a remote client hooked to the internet via dial up, he/she has downloaded and installed tightvnc also.
here is the kicker.
My net is comprised of private addresses beind a cisco router which provides internet access via frac/T1.

how do i get the router to let the tight vnc connection happen? I know port forwarding is probably the answer, but to be honest i used cisco config maker to set the router up and am not really versed in cisco router configurations via telnet or hyperterm. as a side note, I am trying desperatly to get the remote user to go to some type of broadband connection so i have one ip address to work with, this seems a little more secure to me. I dint want my Lan hanging out in the open waiting for someone wiling/able to do as they may. are these concerns valid? the router config is below.


Router#show running-config
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname hostname
!
no logging console
enable password removed
!
ip subnet-zero
no ip domain-lookup
ipx routing removed
!
!
!
interface Ethernet0
description connected to EthernetLAN
ip address 10.222.XXX.XXX 255.255.XXX.XXX
no ip directed-broadcast
ip nat inside
ipx network XX
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
! not sure this even needs to be here as frame relay is no longer used
interface Serial1
no ip address
no ip directed-broadcast
encapsulation frame-relay IETF
service-module t1 remote-alarm-enable
frame-relay lmi-type ansi
!
interface Serial1.1 point-to-point
description connected to internet
bandwidth 1536
ip address 65.197.XXX.XXX 255.255.XXX.XXX
no ip directed-broadcast
ip nat outside
ipx network 9999
frame-relay interface-dlci 500
!
router rip
version 2
passive-interface Serial1.1
network 10.0.0.0
no auto-summary
!
ip nat pool router-natpool-1 65.197.XXX.XXX 65.197.XXX.XXX netmask 255.255.XXX.XXX
ip nat inside source list 1 pool router-natpool-1 overload
ip nat inside source static 10.222.XXX.XXX 65.197.XXX.XXX
ip classless
ip route 0.0.0.0 0.0.0.0 Serial1.1
!
access-list 1 permit 10.222.XXX.XXX 0.0.0.XXX
access-list 100 permit udp any eq rip any eq rip
access-list 101 permit tcp any any established
!
!
ipx router rip
no network 9999
!
!
!
snmp-server community public RO
banner motd ^C the ususal stuff about connecting^C
!
line con 0
exec-timeout 0 0
password removed
login
transport input none
line 1
line vty 0 4
password removed
login
!
end

Any thoughts/ideas are greatly appreciated!!

TB
 
No Takers huh? No toughts at all?
I can use a public ip behind the router if i need, but that dosen't make sense with everything i've read in this forum. thanks again.
 
ip nat inside source static tcp 10.222.X.X 5900 65.197.X.X 5900

Should do the trick - 10.222.X.X is the address of the VNC machine - 65.197.X.X one of the external IP's.

If it doesn't work try removing that external IP from the nat range or outgoing traffic.
 
Peter,

Thank you for the help It is greatly appriciated. I was beging to loose hair over this, i knew there was a way but couldn't get it straight in my head.
The external ip is one outside the nat range. I guess it was making some sense just not enough. Again, Thank you.
Tb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top