LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Interesting Network/Internet question (https://www.linuxquestions.org/questions/linux-networking-3/interesting-network-internet-question-7123/)

ChaosX2 10-01-2001 05:37 PM

Interesting Network/Internet question
 
Ok, I want to have access to my linux box from work. Here is the way my home network is setup.

My computer that is hooked up to my cable modem is a Windows 2000 machine and I have two NICs in it. One for the cable modem and one going to the linux box. I have setup internet connection sharing to my linux box.

Now on my local network I have no problem connecting to my linux box via telnet or HTTP. The the big question is how can I set it up so I can access my linux box from the internet?

Any suggestions would be great.
Thanks in advance.

d3funct 10-01-2001 07:38 PM

I have almost the same setup except my cable modem is hooked up to my Linux box, Linux box to Windows98 Box, IP_masquerading, IP_forwarding etc... I access my machines from my work pc via openssh. You can get a server for your windows2k box and connect via ssh to your windows box then to your linux box. Also might look into vnc "virtual network computing".

ChaosX2 10-01-2001 09:19 PM

Well I also want to be able to use my linux box as a FTP/Web server as well. Is there some way of doing this at all?

d3funct 10-02-2001 12:03 PM

First check out the how-to's here You should look at the networking and xinetd how-to's especially. Then look at the iptables tutorial. This should be enough to get you started.

acid_kewpie 10-02-2001 02:34 PM

Quote:

Originally posted by ChaosX2
Well I also want to be able to use my linux box as a FTP/Web server as well. Is there some way of doing this at all?
you really need to understand how flexible and powerful linux is. what yuor asking is very very basic networking capabilities, which linux has absolutely no troubel whatever dealing with.

d3funct 10-02-2001 03:10 PM

Acid Kewpie is so right. You just need to read a little bit. I have no problem helping people when they face a problem. Even asking how to network Linux and Windows etc... But when you ask a question like that I'm not going to just re-write the how-to's so you can understand them. I'll point you to where the definitive answers are found, you can poke around the how-to try to do as they say and when you come to a wall post the question. I'm not trying to be difficult, but nobody ever learned how to do something without trying it for themselves. Your ftp/webserver questions are easily answered and done in Linux, as far as serving ftp goes, if your using Redhat 7.1 just go to /etc/xinetd.d/ and edit the "ftp" file change "disable=yes" to "disable=no". Poof, your serving ftp. As far as webservers goes, I suggest putting Apache webserver on and going to their homepage www.apache.org for docs on setting it up. It's very simple you just have to :study: . I wish you the best, and please feel free to call on me for any problems you have.

ChaosX2 10-02-2001 10:04 PM

Well I got the problem figured out. I think the way I asked the question was completely wrong. What I really needed was a way for someone to access my internet IP and be forwarded to my linux machine that was already setup for FTP and Apache. I ended up using Wingate and it supports Port mapping so everthing seems fine now. Thanks for the help.

Now I need to read more on configuring up wu-FTP.

Sorry for the badly worded questions, I really didn't understand what I needed to do. Thanks again for everyone's help

mmvaldez 10-03-2001 05:04 AM

Windows ME - Linux connection
 
I access the internet through my WinME machine. I've got ICS (internet connection sharing) setup for 2 more PC's connected to this PC and is working fine. I installed Redhat 7.1 on one of the the 'client' PC's. I am not sure how I can access the internet with my Linux box connected to my WinME machine using the settings that ICS had setup on the WinME machine.

acid_kewpie 10-03-2001 07:43 AM

ICS is icky.

You should be able to connect to t'net by setting the default gateway on the linux book to the server machine.

You can set the gateway in linuxconf, or by editing the line directly in /etc/sysconfig/network 'gateway = IP ADRRESS'

You'll fine it a lot easier to use the lniux box as the gateway, if that is at all feasible. Probably not tho, if your in a business environment etc... Linux is a router as well as an os, and is deisgned for that sort of thing, rather than having to use windows to nail on a very pathcy sharing method.

ChaosX2 10-03-2001 10:51 AM

Thats easy just set the linux machine for DHCP. ICS on Windows ME acts as a mini DHCP server and will assign an IP address to your linux box


All times are GMT -5. The time now is 11:13 PM.