[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Router Suggestion + Home proxy server setup
|
If you are interested in... this is how I have setup my home network
and transparent proxy to use DansGuardian and tinyproxy (web content
filtering).
- Disabled DHCP server on my Linksys router
- Enabled DHCP on my local linux box running Ubuntu
- Configured the linux box to do ipv4 forwarding (/proc/sys/net/ipv4/ip_forward = 1)
- Configured
the DHCP server to give out the default gateway to the linux box so all
traffic goes through it and the DNS servers from your upstream provider
- iptables forward port 80 to linuxbox:8080 (/sbin/iptables -t
nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT
--to-destination 192.168.15.69:8080)
- The linux box is running dansguardian and tinyproxy listening on port 8080
All of the machines on the network configured to do DHCP will transparently be using the proxy server.
There
is a way to bypass the transparent proxy if one were to know the IP
address of my linksys router and configure the workstation's NIC with a
static IP.
Ideally, I would use 2 NICs on the linux box, but my machine has
dangling hard drives inside the chasis that didn't have room to add a
second NIC.
On Fri, Jun 20, 2008 at 11:51 AM, Tharun Kumar Allu < tharun.allu@gmail.com> wrote:
Hi, I am trying to setup squid proxy at home. I have 4 machines 1 linux box 3 windows connected to a D-Link router (Wired and Wireless) which connects to a DSL Modem. Currently all the machines share Internet directly from the router.
With the current hardware can I configure the following scenario.
Network of 4 machines connected to each other but not all to the internet. Only 1 of the 4 machine is connected to the internet The 3 other machines use the 4th machine as a proxy server.
All machine have 1 network card each.
Is it possible with any router to just block internet access to few machines or only allow from one machine?
Thanks Tharun
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
-- - Drew
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|