Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-30-2004, 11:14 PM   #1
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, 11:23 PM   #2
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, 09:39 AM   #3
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, 11:34 AM   #4
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, 12:46 PM   #5
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, 07:23 PM   #6
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, 07:34 PM   #7
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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, 09:05 PM   #8
LQ Newbie
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0


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

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

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