Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
using putty to log on to a server behind a router
using putty to log on to a server behind a router
Hi I'm new here!
Before I ask this question, I've allready looked extensily on the web for an anwser to my question, but I couldn't find anything that really helped me further.
This is my situation:
I've just installed debian on an older laptop. Added to that I allready have ssh, apache, python and some other, more basic stuff, on there. My plans were to set up a webserver for a website for my girlfriend and for me to mess arround with.
Here's my question:
how do I log on, using putty on winXP, on my server?
kind regards,
Ryvers
Before I ask this question, I've allready looked extensily on the web for an anwser to my question, but I couldn't find anything that really helped me further.
This is my situation:
I've just installed debian on an older laptop. Added to that I allready have ssh, apache, python and some other, more basic stuff, on there. My plans were to set up a webserver for a website for my girlfriend and for me to mess arround with.
Here's my question:
how do I log on, using putty on winXP, on my server?
kind regards,
Ryvers
- hilldweller
- Posts: 10
- Joined: 2006-06-15 07:58
- Location: derbyshire, uk
are you on the same network or is this over the internet?
if its the same, you should just be able to specify the ip address in putty and connect from there...
if its over the internet you'll need to make sure port 22 can get out from subnet a and into subnet b (where the laptop is).
unless i've totally misunderstood your post of course.
if its the same, you should just be able to specify the ip address in putty and connect from there...
if its over the internet you'll need to make sure port 22 can get out from subnet a and into subnet b (where the laptop is).
unless i've totally misunderstood your post of course.
Hi Ryvers,
well, you need to know the ip address (or else the fully qualified domain name = FQDN) where you can reach the laptop from your desktop machine. So we need to know how the stuff is all tied together. I assume that this is how you have things installed:
If you don't know the IP address or FQDN of your laptop, you can find it out in one of two ways:
By the way, if this is indeed how the network is set up and you want the web server to be available from the internet, make sure you know how to forward ports from your router to the laptop.
HTH,
well, you need to know the ip address (or else the fully qualified domain name = FQDN) where you can reach the laptop from your desktop machine. So we need to know how the stuff is all tied together. I assume that this is how you have things installed:
Code: Select all
desktop--+
|
router--internet
|
laptop----+
- either by physically going to it, logging in, and typing
then noting the number after where it says inet addr. There are probably two occurrences of that, one where it says lo and the number is 127.0.0.1, and one where it says something else, like eth0, and some other address. You want the other address.
Code: Select all
/sbin/ifconfig
- or by going to the web interface of your router; it can probably give a list of IP addresses that are connected.
By the way, if this is indeed how the network is set up and you want the web server to be available from the internet, make sure you know how to forward ports from your router to the laptop.
HTH,
thanks. The both of you.
But something else, you metioned this:
By the way that setup that was drawn by one of you was correct.
But something else, you metioned this:
Can I find something here how I can foward I could forward the nessecary ports from the router? or is this router-specific?By the way, if this is indeed how the network is set up and you want the web server to be available from the internet, make sure you know how to forward ports from your router to the laptop.
By the way that setup that was drawn by one of you was correct.
- hilldweller
- Posts: 10
- Joined: 2006-06-15 07:58
- Location: derbyshire, uk
generally router specific.
you should have something in your router config like 'virtual server' setup or 'port forwarding'.
make sure that you set port 80 tcp to go to your internal webservers ip address. then, go to http://www.whatismyip.com to find the external ip address of your router. if you are then out and about you should be able to go to http://youripaddressgoeshere to see your website from anywhere in the world.
basically port forwarding just says to the router, 'if anyone wants to access this type of traffic then send their requests to here...' (in your case, internet traffic on port 80 needs to go to your webserver).
hth
you should have something in your router config like 'virtual server' setup or 'port forwarding'.
make sure that you set port 80 tcp to go to your internal webservers ip address. then, go to http://www.whatismyip.com to find the external ip address of your router. if you are then out and about you should be able to go to http://youripaddressgoeshere to see your website from anywhere in the world.
basically port forwarding just says to the router, 'if anyone wants to access this type of traffic then send their requests to here...' (in your case, internet traffic on port 80 needs to go to your webserver).
hth
thanks!
just another question. I'm trying to upload files (using filezilla) from a windows computer (in the network) to my server(also in the network). But I just can't get it to connect with my server. Should I open a port on my router asswell? And so, how?
I'm quite confused because I can reach it using putty(on that same windows computer).
just another question. I'm trying to upload files (using filezilla) from a windows computer (in the network) to my server(also in the network). But I just can't get it to connect with my server. Should I open a port on my router asswell? And so, how?
I'm quite confused because I can reach it using putty(on that same windows computer).