Re: Linux as a Server

Glynn Clements (glynn@sensei.co.uk)
Sat, 1 Aug 1998 19:28:36 +0100 (BST)


Thorsten J. Lorenz wrote:

> i am using Linux on my stationary PC and connect to it using my
> Notebook running Win95 (Sorry, but it is required :(). Now I want
> to connect to the Internet thru Linux (from the Win95 Notebook), but
> my ISP does not allow me to run a net. I could use masquerading, but
> as i understand, i can only use some services that way (ftp, e.g.)
> and Web-surfing is not include. Any suggestions how i could still do
> it. (Connecting the ISP with Linux works fine, no problems there).

Masquerading will allow you to make outbound connections via the Linux
box. This will allow the use of HTTP and telnet (and anything else
that uses a single outbound TCP connection). For FTP, you either need
to use passive (PASV) mode on the FTP client, or load the ip_masq_ftp
module. Similarly, Cu-SeeMe, IRC, Quake, RealAudio and VDO-live need
extra modules to be loaded in order to work correctly.

The one thing which you won't be able to do is to connect directly to
the Win95 box, as it won't have its own IP address.

> I would also appreciate to get my mail thru Linux. Where do i find
> information on how to set up a POP3-server. Will this work when my
> provider allows only client access or can i hide that, too.

Setting up a pop3 server should be trivial; most distributions install
one by default. You should just need a line in /etc/inetd.conf similar
to:

pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.pop3d

-- 
Glynn Clements <glynn@sensei.co.uk>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu