Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-29-2004, 12:03 AM   #1
LQ Newbie
Registered: Sep 2004
Location: Nanaimo, B.C. (Vancouver Island)
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Question 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,
Old 09-29-2004, 04:27 PM   #2
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
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.


Old 09-29-2004, 06:57 PM   #3
LQ Newbie
Registered: Sep 2004
Location: Nanaimo, B.C. (Vancouver Island)
Distribution: Debian
Posts: 2

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

Last edited by Vi-wi; 09-29-2004 at 07:01 PM.
Old 09-29-2004, 07:09 PM   #4
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
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

Old 09-29-2004, 11:40 PM   #5
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
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

Last edited by jarib; 09-30-2004 at 12:00 AM.


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
MINIPC/MICROPC to be used as a personal firewall or router omarswan Linux - Hardware 1 03-20-2006 01:43 PM
ADSL router in SUSE linux 9.1 personal avadhootn Linux - Networking 2 05-29-2005 03:44 AM
SuSE 9.1 Personal: Internet Access Problems using Zoom X4 Router johnerskine Linux - Newbie 1 06-29-2004 06:00 PM
Newbie Project: Box dedicated to MythTV + Routing + Firewall + Hub - Need Advice i-Silver Linux - Newbie 3 06-27-2004 12:46 PM
Samba / Routing advice please... chiefobeef Linux - Newbie 3 10-21-2003 09:58 AM > Forums > Linux Forums > Linux - Distributions > Debian

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

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