Hi Mostafa Faridi,
mostafa faridi wrote:
I am new user in squid I want use squid , my firewall is PF and my OS is
FreeBSD I want make my system for NAT.
I would be grateful if someone help my I do this .
You can check out the following URL to use Squid with PF.
http://www.benzedrine.cx/transquid.html
Which version of FreeBSD are you using? What kind of proxy server do you
want to use squid for? Transparent or just a normal forward proxy?
Since you will be using PF, remember to include the following parameter
while compiling Squid either from source or from ports:
"--enable-pf-transparent"
Go for the latest stable release of Squid which is Squid-2.6.STABLE16
currently.
You can find the source package from the URL below:
http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE16.tar.gz
To achieve NATing using PF, the following tutorial will help:
http://www.section6.net/wiki/index.php/Setting_up_a_Firewall_NAT_using_PF
Personally for me, I am using IPFW over PF because I was introduced to
IPFW first.
However, both should do the job fine.
Hope that helps.
Thanking you...
--
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
System Administrator
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np