LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-01-2001, 05:37 PM   #1
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Question 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.
 
Old 10-01-2001, 07:38 PM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
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".
 
Old 10-01-2001, 09:19 PM   #3
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Original Poster
Rep: Reputation: 30
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?
 
Old 10-02-2001, 12:03 PM   #4
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
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.
 
Old 10-02-2001, 02:34 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-02-2001, 03:10 PM   #6
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
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.
 
Old 10-02-2001, 10:04 PM   #7
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Original Poster
Rep: Reputation: 30
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
 
Old 10-03-2001, 05:04 AM   #8
mmvaldez
LQ Newbie
 
Registered: Sep 2001
Posts: 10

Rep: Reputation: 0
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.
 
Old 10-03-2001, 07:43 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-03-2001, 10:51 AM   #10
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
interesting network setup jrapp13 Linux - Networking 1 11-30-2003 03:19 AM
Interesting internet connection problem Risc91 Linux - Software 9 11-22-2003 02:17 PM
Interesting network statistics phishman3579 Slackware 1 09-27-2003 09:03 PM
Help Please - Interesting Network Issue ned911 Linux - Networking 6 12-27-2002 02:45 PM
Interesting TCP/IP Problem? PosgreSQL and Internet Connection Sharing Don't Work iaypaa Linux - Networking 3 11-04-2002 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration