• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 982
  • Last Modified:

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

Hi

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.

212.111.33.10 for their DNS
212.111.33.11 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 = 192.168.20.1 connected to hub
eth0 = 212.111.33.50 connected to wireless
212.111.22.20 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.

0
Afcor
Asked:
Afcor
  • 2
1 Solution
 
paranoidcookieCommented:
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.
0
 
paranoidcookieCommented:
Oh to run squid in transparnet mode take a look at http://www.squid-cache.org/Doc/FAQ/FAQ-17.html
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now