LinuxQuestions.org
Review your favorite Linux distribution.
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 11-15-2006, 09:29 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
How do I connect remotely?


So I have setup a dyndns.org account and I can remotely access my router - WRT54G v5 using DD-WRT micro v23 SP2 . I have setup up an internal network with 2 computers at the moment, both with assigned IP addresses.

Computer 1 is a linux computer (FC5) and Computer 2 is a Windows MCE computer. Can someone direct me as to how I can go about setting up being able to access Computer 1 remotely - both through using the CLI and a GUI. I will be looking to access from an XP based computer.
 
Old 11-15-2006, 10:02 AM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
using port forwarding
 
Old 11-15-2006, 11:17 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
So do I assign some port, say 100. Then use a VPN program to connect to user.dyndns.org:100?
 
Old 11-15-2006, 11:34 AM   #4
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
You will need to setup Port Forwarding on your router so that some public port will forward to either private IP address and port 22(ssh) for CLI to that machine(provided that you have the sshd service running) and/or public port that will forward to the private IP address and VNC (not VPN) private port that you have configured in your vncserver(provided that it is running) on that machine.

example:
remote.yourdomain.com:10000 would forward to your Linux machine's IP and ssh port 10.1.1.1:22

You can then access either port as you mentioned above via a remote connection software. A popular remote terminal software for Windows is TeraTerm Pro, and for remote desktop access, you can use VNC, of which there are various flavors (I prefer TightVNC for speed).

You can do the same steps to access your Windows PC via VNC also, just by configuring a different public port to forward to it's private IP address and port.
 
Old 11-15-2006, 01:18 PM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Is a public port one on my router so to say. By that do I open a port to forward through the router GUI and assign that port to the IP address of Computer 1? And then besides that port I also need to open port 22 on Computer 1 using iptables?
 
Old 11-15-2006, 08:24 PM   #6
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
yes, you browse into your WRT54G, set the port forwarding. Normally you have few parameter.
-What port number you router want to listen on WAN interface for port fowarding
-what server ip address you want to redirect to from internet guess.
-what destination port on that server(This is necessary if you want to have more than 1 server with same port number, like http allow remote access).

KS
 
  


Reply

Tags
connection, ddns, dyndns, remote


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
How do I connect to Webmin remotely? wslyhbb Linux - Networking 3 11-18-2010 05:03 AM
Can't remotely ftp connect jake3988 *BSD 10 04-16-2005 01:52 PM
connect remotely pyre Linux - Newbie 8 03-19-2004 12:20 PM
Help: Unable to connect remotely tejpatil Linux - Newbie 3 02-14-2004 09:36 PM
cannot connect remotely noizez Linux - Networking 2 04-03-2003 10:53 PM


All times are GMT -5. The time now is 01:36 PM.

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