LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-26-2007, 10:55 PM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
vnc port forwarding problem


Okay, So I have a home PC and a brand new Nokia n800 :-), and I want to access the PC (windows, for work) via vnc. I installed tightvnc and gave it a password, allowed in incoming connections, gave it permissions to the network (actually turned off the firewall while debugging), and set up my home router to forward every port between 5800 and 5915 to that PC.

When I try to log in via the vncviewer on the n800 with the local (192.168.x.x) IP address, it works just fine. But when I try it with the IP I get from whatismyip.com, even from the neighbor's internet, I get nothing.

Any ideas what could be wrong? I thought if you forwarded the ports, you'd be okay.
 
Old 12-26-2007, 11:06 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Now I tried further to set up what my router calls a DMZ. Essentially, it forwards all the ports to that laptop, but still no luck.
 
Old 12-26-2007, 11:09 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Windows XP SP2 does have a software firewall. You might want to check if the port is closed. Only open the port in the router that VNC uses.
 
Old 12-26-2007, 11:13 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
The WinXP firewall is off as well, darn.
 
Old 12-26-2007, 11:14 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Is there any chance that the whatismyip.com IP address is not correct? I don't use any proxies, but maybe my ISP is on my behalf? My router claims that the IP address we are surfing with is something else, but since it starts with 192.168, I'm assuming that it's either wrong or I misinterpreted what it was saying.
 
Old 12-26-2007, 11:20 PM   #6
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
The check at gotomyvnc reports that there is no vnc running from my pc. I get the same behavior with ultravnc.
 
Old 12-26-2007, 11:38 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could simply look at your routers config page and see what its IP address is. On thing to check for is if you have a real internet address or a private address.
 
Old 12-26-2007, 11:45 PM   #8
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Well, I tried that, and it gave me that IP starting with 192.168, so that can't be right. Could it be my ISP preventing me from doing this?
 
Old 12-27-2007, 01:13 AM   #9
owenjh
Member
 
Registered: Sep 2007
Distribution: Fedora / Slackware
Posts: 46

Rep: Reputation: 15
The 192.168.X.X is a local address. You need to open the port in the router, 5900 if the daemon is running. Try doing a
Code:
tracert google.com
on your windows box or
Code:
traceroute google.com
and see what comes up, your IP should be #2.

Hope this helps.
 
Old 12-27-2007, 05:32 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Some ISPs, usually for DSL, don't give you a real IP because you are behind their NAT router, and they are serving several customers per IP address. If you read the correct IP address (WAN input on the Router), then you can't initiate connections to the router from the internet.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
VNC problem with port forwarding tuananhbirm Linux - Software 4 02-01-2006 11:08 PM
Problem with Port Forwarding Zorrocaesar Linux - Networking 1 10-25-2005 07:18 AM
vnc port forwarding krayz1e Linux - Newbie 9 08-14-2005 04:46 PM
port forwarding problem bruj3w Linux - Networking 3 08-13-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration