LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   very very newbie IP address question (https://www.linuxquestions.org/questions/linux-newbie-8/very-very-newbie-ip-address-question-224592/)

mgyamada 08-30-2004 10:14 PM

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

Netizen 08-30-2004 10:23 PM

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...

mgyamada 08-31-2004 08:39 AM

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.

scuzzman 08-31-2004 10:34 AM

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

halo14 08-31-2004 11:46 AM

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....

mgyamada 09-02-2004 06:23 PM

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

btmiller 09-02-2004 06:34 PM

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.

mgyamada 09-02-2004 08:05 PM

thanks


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