|
Re: lug-bg: squid restriction
- Subject: Re: lug-bg: squid restriction
- From: gf@xxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Mon, 17 Apr 2000 19:00:41 +0300
Ei ti prost nachin za setuvane na transparant proxy prez squid
Wsichko deto minava prez port 80 se redirektva kam squid-a
195.138.147.13/32 - tova ti e host-a kade e proxy-to
195.138.147.0/25 - ot tazi mrezha IP-tata shte bydat pusnati prez tranparent
proxy-to
Ipchains nastroikite:
ipchains -A input -p TCP -d 127.0.0.1/32 80 -j ACCEPT
ipchains -A input -p TCP -d 195.138.147.13/32 80 -j ACCEPT
ipchains -A input -p TCP -s 195.138.147.0/25 -d 0/0 80 -j REDIRECT 8080
Tova go slozhi waw squid.conf
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
--
Georgi Chorbadzhiyski
System Administrator
Cybercom Ltd.
http://www.cybcom.net/
Emil Terziev wrote:
> Edin takav vapros..
> Imame proxy s linux koeto monava prez squid
> kak da se napravi taka che da ne moje da se izliza ot linux servera
> v internet bez da se minava prez squida.
> t.e. da triabva v nastrojkite vinago da se pishe proxyto i porta i da ne se
> zaobikalia ot userite?
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|