Author Topic: squid transparent setup! pulling my hair out!!!!  (Read 1858 times)

Offline lee23

  • Newbie
  • *
  • Posts: 1
squid transparent setup! pulling my hair out!!!!
« on: May 18, 2012, 09:27:21 PM »
Hi i have a problem i would like help with please i am sick and tired of reading tutorials and guides am just going in circles and getting no were.
i cant get traffic to route directly trough the proxy server without setting client browser and if i dont they cant access internet anyway or access SSL pages.

what i am trying to do is setup a transparent squid server for a wlan network, here is a digram of network->>

 

as you can see i am trying to protect the wlan side, i have configured ubuntu server as squid server and dhcp server.

Interface config...

Code: [Select]
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

post-up iptables-restore < /etc/iptables.up.rules

auto eth1
iface eth1 inet static
address 192.168.2.1
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255


isc-dhcp-server config...

Code: [Select]
]authoritative;

default-lease-time 3600;
max-lease-time 3600;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option domain-name-servers 208.67.222.222, 208.67.220.220;
option domain-name "racecourse-wlan.net";

subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.3 192.168.2.253;
basically followed this guide.   http://www.tuxgarage.com/2011/01/how-to-setup-transparent-proxy-with.html

would just like some help to get them routing trough proxy server and then hopeful integrate authentication with squid to require a password to access net on WLAN side.

cheers   






Ubuntu Forums (Ubuntu Linux Support)

squid transparent setup! pulling my hair out!!!!
« on: May 18, 2012, 09:27:21 PM »