LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-29-2004, 10:34 AM   #1
bigian79
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Accessing a machine in my subnet from an external source


I'm a newbie on this, but I have researched it some and can't find any help.

I have set up a subnet at my home, and I wanted to be able to access the machines within that subnet from an external source. (VNC for instance). Any help would be appreciated.
 
Old 01-29-2004, 11:38 AM   #2
mchanea
LQ Newbie
 
Registered: Jan 2004
Location: Rio de Janeiro - Brasil
Distribution: debian/rh
Posts: 18

Rep: Reputation: 0
You must open the 5900 port on your server to grant vnc access to your local net.
look at this example:
iptables -t nat -A PREROUTING -p tcp --dport 5900 -i eth0 -j DNAT --to 192.168.1.3
where you must replace eth0 with your ethernet card connected to the internet and the 192.168.1.3 with the ip of the internal machine running vnc server.
Good luck!
 
Old 01-29-2004, 12:11 PM   #3
bigian79
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
And what if I wanted to be able to VNC to multiple machines in my subnet, including my server? Is there a way to differentiate between the machines?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems accessing Windows machine centered effect Linux - Networking 3 07-26-2005 08:05 PM
accessing redhat 9 machine on network... stephs_73 Linux - Networking 1 10-12-2004 11:28 PM
accessing windows 98 machine 24giovanni Linux - Networking 2 02-04-2003 10:28 AM
accessing box from internal network but not from external JereBear Linux - Networking 12 05-12-2001 01:12 AM
Problem accessing external IPs kevin_5050 Linux - Networking 7 02-08-2001 08:46 AM


All times are GMT -5. The time now is 12:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration