Linux / UNIX Tech Support Forum
This is a discussion on Squid proxy transparent within the Linux software forums, part of the Linux Getting Started category; Hi everyone, I am new here and I need some help with the setup of my new Proxy. <LAN> --- ...
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi everyone, I am new here and I need some help with the setup of my new Proxy.
<LAN> --- <e1|PROXY|e0>----<FIREWALL/ROUTER>---<INTERNET> Well the LAN clients should have the Gateway pointing to the Proxy Server, and in the proxy server eth1 I have a NAT rule that forwards it to e0:9090 # set this system as a router for Rest of LAN iptables --table nat --append POSTROUTING --out-interface e0 -j MASQUERADE iptables --append FORWARD --in-interface e1 -j ACCEPT The strange thing that is happening:
ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: / Invalid URL On the logs of the access.log I see : 172.31.X.7 NONE/400 1872 GET /favicon.ico - NONE/- text/html 172.31.X.7 NONE/400 1894 GET /Vitrine/Home/Home.aspx - NONE/- text/html 172.31.X.7 NONE/400 1906 GET /shell-programming-scripting/ - NONE/- text/html I believe somehow the hostname address are not arraiving to the proxy, any ideas why or how to fix it??? |
| Sponsored Links | ||
|
|
|
|||
|
all right... I got it work.
The new SQUID 3.0 has a simple line to define it as TRANSPARENT. #HEADER problem when using as Transparent Proxy http_port <SQUID_IP>:<PORT> transparent on older versions people used the http_accel mode to hack squid to perform transparent, no longer it is needed |
![]() |
| Tags |
| proxy , squid , transparent |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Squid transparent proxy in ubuntu | Avinash More | Ubuntu / Debian | 3 | 12-02-2009 06:54 AM |
| How to Squid 2.6 transparent proxy? | alex.inoa | Networking, Firewalls and Security | 5 | 30-10-2007 03:41 AM |
| Outlook with Squid transparent Proxy | bubloob_13 | Networking, Firewalls and Security | 0 | 16-09-2007 02:37 PM |
| transparent squid proxy authentication | chiku | Linux software | 1 | 27-04-2007 04:58 PM |
| Squid proxy authentication in transparent mode howto | charvi | Linux software | 1 | 14-01-2007 12:55 AM |