🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #21847

[NTG] SQUID + IPF+IPNAT - FREEBSD 5.4

#21847
From: lukas
Date: Mon, 13 Sep 2010 13:03
21 lines
1512 bytes
Witam!
Przepraszam za NTG ale nie wiem na jaką grupę pisać.

Proszę o pomoc w sprawie transparentnego serwera proxy. Router jest 
postawiony na FreeBSD 5.4 ,a Squid
zainstalowany jest na osobnym komputerze z systemem FreeBSD 8 . Sprawa 
wygląda tak, że jeśli ustawie serwer proxy
w opcjach internetowych systemu Windows to wszystko działa tzn. na squidzie 
jest rejestrowany ruch w plikach access.log i cache.log

Moim celem jest ustawienie transparentnego proxy. W pliku squid.conf mam 
wpis http_proxy IP_SERWERA_PROXY:8080 transparent


W /etc/ipnat.rules na routerze mam wpis :

#rl0 - zewnetrzna karta sieciowa - WAN

rdr rl0 0/0 port 80 ->  IP_SERWERA_PROXY port 8080 tcp

Proszę o pomoc Łukasz 
Technical Details
Message-ID: <i6l7el$2oh$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "lukas" <informatyk1983@op.pl>
Newsgroups: pl.comp.os.bsd
Subject: [NTG] SQUID + IPF+IPNAT - FREEBSD 5.4
Date: Mon, 13 Sep 2010 15:03:22 +0200
Organization: http://onet.pl
Lines: 22
Message-ID: <i6l7el$2oh$1@news.onet.pl>
NNTP-Posting-Host: mail2.pum.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1284382997 2833 83.17.9.58 (13 Sep 2010 13:03:17 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Mon, 13 Sep 2010 13:03:17 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18416
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18416
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit