The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 please help with transparent proxy
Author: Roman Serbski 
Date:   16-10-00 12:54

Good day everybody!

Need help in transparent proxy configuration.
I use FreeBSD 3.4-RELEASE, Squid/2.2.STABLE5 (using 3128 port),I also installed ipfw with standard set of rules.
I forward all incoming (from my LAN) HTTP requests to proxy port 3128:
ipfw add 40 fwd xxx.xxx.xxx.xxx,3128 tcp from xxx.xxx.xxx.0/24 to 0.0.0.0/0 80

Everything works fine, but there is one problem. Users from my LAN do not have access to all local web sites - squid returns Access Denied. If they turn off "Using proxy server" in browser - everything is ok, access is granted.

Where is my mistake? Should I forward incoming packets to 80 port for each local webserver or I messed something in squid.conf configuration???

Looking forward to hear any suggeston.
Thank you and good luck!

Regards,
Roman

Reply To This Message
 
 RE: please help with transparent proxy
Author: DarkElf 
Date:   16-10-00 16:10

Send me a copy of your squid.conf, might be a little syntax/error in the config... happends...

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org