LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2004, 10:14 PM   #1
mgyamada
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
very very newbie IP address question


Okay this is practically not even a Linux question, it just so happens that the systems involved are Linux.
I've just moved into university and I want to use scp to get my old files from my box at home. I was going to use scp to copy a tar.gz of the files I want, but my old box is on a network within my house.
So what is the convention (I assume that this hasn't anything to do with the OS involved... just an internet thing) for IP addresses within a network? I know the computer's IP on the network, and I know the external IP... I really don't know anything about networking though. Help?
Thanks in advance
 
Old 08-30-2004, 10:23 PM   #2
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
So you have a router?

If I interpeted that post corretly, you have a PC ascting as a router and then a home network behind it. You want to get to a computer on the other side of the router.

If that was right, then you need to look into port forwarding.

If not, please more information to describe the problem...
 
Old 08-31-2004, 08:39 AM   #3
mgyamada
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
I have two computers connected to a router and the router conected directly to the internet. I want to access one of the computers connected to the router from my computer here at university that is connected to their netowork.
Thanks again.
 
Old 08-31-2004, 10:34 AM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Do you simply want to ssh into the box? ie: work on a console? Or do you want GUI access? if gui: you'll want to look into VNC
for ssh: install and run sshd nd enable port forwarding on your router
for VNC: install and run vncserver and enable port forwarding on the router
 
Old 08-31-2004, 11:46 AM   #5
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
I think what he's looking into is more like an FTP style access... is this the case? if so.. you need to set up ftp access on the other box... before you can get into it to get any files... then set port forwarding in that router to point to the internal IP of the box you want access to... then you can use an ftp client on the outside to access the outside IP address of the home network... and it should automatically forward you to the specified computer....
 
Old 09-02-2004, 06:23 PM   #6
mgyamada
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
so what how do i enable port forwarding? i found the page that correspnds to that on my router settings. the options are:

ext ports (blank to blank)
protocol TCP and protocol UDP (checkboxes)
IP address
and enable (another checkbox)

i assume that i plug in the IP of the machine that i want to acces, check one or both of the protocols, check enable, and also set ports. what ports do i want to select?

thanks again
 
Old 09-02-2004, 06:34 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you want to use scp you'll have to forward port 22 (ssh -- scp works over ssh). So in your router configuration, tell it to forward port 22 to the internal IP of the machine that you want to ssh to.
 
Old 09-02-2004, 08:05 PM   #8
mgyamada
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
thanks
 
  


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
Newbie Cannot Connect to Internet (Can't get an IP address) thinkdeeper777 Linux - Newbie 8 07-24-2005 11:30 AM
ip address question! Jmcatch742 Linux - General 2 01-13-2005 06:25 PM
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM
Question about my ip address. XillusionsX Linux - Networking 3 12-06-2001 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 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
Open Source Consulting | Domain Registration