-   Debian (
-   -   Advice on personal FW / Router. Proxies or Routing way to go (

Vi-wi 09-29-2004 12:03 AM

Advice on personal FW / Router. Proxies or Routing way to go
I'm setting up a personal server to do everything.

I'm using Debian and have the Apache Server and Squid Web Cache running. Man o man Debian is a breath of fresh air after trying to squeeze Gentoo onto this laboured machine. (Pentium 133Mhz, Fujitsu Lifebook Laptop 80mb 1.5gb)

Anyhoo, I'm running in circles. I am feverishly trying to re-establish my wife's email client through this machine. At first I thought I would add a simple route, but that hasn't panned out. Next I thought I could add a socks proxy, but Debian doesn't seem to have any packages to do so (Dante and Socks4 are not available?)

So after a little research I thought I'd try IProute2. But the deb package doesn't install correctly. Squid is working and networking is OK.
I'm not even sure it's the right answer so I thought I'd pose the question.

What is the politically correct method for a quick dirty, moderately secure method of getting Thunderbird-win to work through this debian machine?

muchas gracias,

dalek 09-29-2004 04:27 PM

I am NOT a expert here. Just want to make that point right away.

You did open port 25 and 110 right? That is usually what they use for email, on mine at least.

I'm getting DSL soon and am setting up a router and firewall, running OpenBSD hopefully, so I may have the same issue. You guinie pig. Let me know how it goes.


:D :D :D :D

Vi-wi 09-29-2004 06:57 PM

Routing ... goes thud
Here it is:


PC#1 (                                PC#2(
=================                                    ================
      \/                                                    \/
        |                                                    |
        --------------------      ----------------------------
                          |      |
                      |      HUB      |
                        ETH0(    (DHCP Supplied)
                          < Internet  >    (DHCP Gateway

My Route Table for my gateway router is:


Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface  U    0      0        0 eth1  U    0      0        0 eth0        UG    0      0        0 eth0

Anyone see any problems yet?

funkydan2 09-29-2004 07:09 PM

Umm, can either of your PCs connect to the web? It's just that you've said nothing about Network Address Translation (NAT).

If you can connect to the web, it will be because the squid on the gateway machine fetches everything and then proxies onto your LAN. However, squid isn't doing the same for your email.

I think you have two choices (it's been a few years since I was studying network admin). Either you can setup your firewall (iptables, ipchains) to do Network Address Tranlation and allow your wifes PC to connect directly to your ISPs mail server or you can setup something like sendmail on your gateway and have it fetch mail from your isp and setup your wifes PC to fetch the mail from your gateway.

I'm not sure which would be easier or which would make you feel safer. The benefit of setting up sendmail is you could also put a SPAM filter and antivirus on your gateway to keep you 'safe' from mail harm.

Have a search around the HOWTOs on and you should find some good ones under 'networking'
or server apps


jarib 09-29-2004 11:40 PM

I think your gateway should be
(edit: never mind, I was thinking of the client gateway)

Why not use a distro like IPCop It's pretty much ready to go and has Squid and you can add Squid-guard as well. Comes with Snort a web admin page and all kinds of logging.

I just checked my routers route table. It looks about the same except I have a default gateway entry rather than

All times are GMT -5. The time now is 12:33 PM.