LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connecting to your box remotely. (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-to-your-box-remotely-723694/)

beleth 05-04-2009 06:17 PM

connecting to your box remotely.
 
i have a winbox, and fedora 10 box on the same network(router) connected to the internet only, no filesharing atm. now i'd like to be able to connect to the linux box through telnet, and maybe even host some files. now i figured i'd need to install apache(which i think i did choose at install). but my question is, if i goto a site like whatsmyip.org, both comps have the same ip and telneting it does not connect to the linux comp. is there a way to give the linux box a static ip so that i can do what i want with it.



alos, can someone direct me to the right man pages or help sites.

Tinkster 05-04-2009 06:34 PM

First of all, you *DON'T* want to use telnet :) ... use ssh instead

Secondly, you'll need to set-up port forwarding for port 22 on the router
so that all incoming traffic on that port gets passed on to the linux
machine; same for web-traffic (once you've set-up and secured your apache).


Cheers,
Tink

Poetics 05-04-2009 06:39 PM

As well as the aforementioned port-forwarding you will indeed want to set your linux machine to a static IP so that your forwards will always go to the correct box. Search this site for "static IP" and you will learn more than enough to help you disable DHCP and test your network settings.

Tinkster 05-04-2009 07:02 PM

Or you could make sure (router firmware permitting) that the same MAC
always gets the same dhcp-leased address ...


All times are GMT -5. The time now is 10:29 PM.