Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-01-2001, 06:37 PM
|
#1
|
Member
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195
Rep:
|
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.
|
|
|
10-01-2001, 08:38 PM
|
#2
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
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".
|
|
|
10-01-2001, 10:19 PM
|
#3
|
Member
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195
Original Poster
Rep:
|
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?
|
|
|
10-02-2001, 01:03 PM
|
#4
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
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.
|
|
|
10-02-2001, 03:34 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-02-2001, 04:10 PM
|
#6
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
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 . I wish you the best, and please feel free to call on me for any problems you have.
|
|
|
10-02-2001, 11:04 PM
|
#7
|
Member
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195
Original Poster
Rep:
|
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
|
|
|
10-03-2001, 06:04 AM
|
#8
|
LQ Newbie
Registered: Sep 2001
Posts: 10
Rep:
|
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.
|
|
|
10-03-2001, 08:43 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-03-2001, 11:51 AM
|
#10
|
Member
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195
Original Poster
Rep:
|
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 07:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|