Setting up Debian to be firewall, proxy and dns server.

Posted on 2005-03-16
Medium Priority
Last Modified: 2013-11-15

I am very new to Linux. I would like to setup a firewall, proxy and dns server on a machine using Debian.

I started with the dns but am now stuck, partly because I don't understand DNS well either. Here are some facts about my system:

I registered a domain with networksolutions and the nameservers they allocated me are:

NS93.worldnic.com and NS94.worldnic.com

My ISP's addresses has given me a DNS and gateway address, i.e. for their DNS for their gateway

I have 2 NIC's in my machine, and one is connected to a wireless device, the other to my hub.

eth1 = connected to hub
eth0 = connected to wireless is the address for the wireless device

I have no idea how to set this up and also what sequence to use. Should I do dns first, then firewall then proxy?

I started with the dns so would prefer to just carry on with that if possible.

Any help is appreciated.

Question by:Afcor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

paranoidcookie earned 100 total points
ID: 13555695
Squid (apt-get install squid) is the proxy I would recommend you can run it in two ways either set up your clients to use it or transparently redirect traffic with the firewall.

Unless you want to learn a lot about firewalls you could try using a premade script like monmotha http://monmotha.mplug.org/firewall/index.php or else search experts exchange there are a lot of people who have asked questions about linux firewalls.

Expert Comment

ID: 13555705
Oh to run squid in transparnet mode take a look at http://www.squid-cache.org/Doc/FAQ/FAQ-17.html

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question