Displaying 20 results from an estimated 10000 matches similar to: "Redirecting localhost to proxy"
2007 Aug 10
1
TRANSEPARENT PROXY WITH SQUID 2.6
Hi,
I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5.
Pls see below for squid.con file.
http_port 3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule
2003 Jan 09
10
transparent proxy
I''ve installed a bering box acting as a firewall for a lan;
the lan is 192.168.1.0/24
the bering box is 192.168.1.254
I''ve installed a squid server 192.168.1.1
It is possible to configure shorewall for a transparent proxy to the
squid server?
I''ve tryed with
REDIRECT loc loc:192.168.1.1:3128 tcp www - !192.168.1.1
in the rules file
I get this error:
Error:
2005 Jan 04
4
Shorewall redirect with Squid and Dansguardian
Hi all,
I''ve just built Mandrake 10.1 on a Compaq Deskpro that I''ve built as a
router/firewall and am redirecting port 80 outbound to force users through
the Content Filter. I''ve run this setup on Mandrake 9.0 and 10.0 without any
problems but this time the following happens.
Squid is accessed through port 3128 and Dansguardian via 8080.
If I set my browser on a
2011 Jan 31
3
redirecting traffic using iptables
Hi.
I have two internet connections, the ADSL2+ is very
very cheap (but fast 10mb) and I want to use the SHDSL (2mb)
only for mail,ssh,http OUT and the ADSL2+ only for
surfing.
I all works fine if people specify the proxy in the
browser, but in case like flash it of no use.
Further if I can make the 80/443 traffic go through
the proxy only, its an added bonus. If this can be
done, fine. Bue I
2004 Dec 18
9
Bridging and transparent proxy
Hi all,
is it possible configure Shorewall in bridge mode and,
in the same box, utilize Squid in transparent mode?
I''m triing to do this, but the REDIRECT rule doesn''t work.
I''ve already read http://www.shorewall.net/bridge.html
to configure the bridge and work fine for me, but
when I add the rule for transparent proxy
2005 Jun 30
2
routing between 2 lines problem , after starting squid
i''m using one line on eth2 only for web traffic
eth1 is my internal line and eth0 is my main line to internet .
i''m marking packets like this
i have default route on eth0
iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -j MARK
--set-mark 66
iptables -t mangle -A PREROUTING -i eth1 -p tcp --sport 80 -j MARK
--set-mark 66
iptables -t mangle -A PREROUTING -i eth1
2012 Jan 21
1
squid transparent proxy problem
Greetings,
I installed a squid 3.1.10.i686 squid to a centos 6.2i686. The proxy is
working fine with the default config.
After I decided to use it as a transparent proxy, I added two lines to
config: http_proxy 10.0.5.1:3128 transparent, always_direct allow all
http_port 10.0.5.1:3128 transparent
#
# Recommended minimum configuration:
#
acl manager proto cache_object
#acl localhost src
2007 Jul 19
1
yum through a squid proxy
Hello,
I've got a centos5 box that is now behind a what was transparent squid
proxy. The proxy now has it's own dedicated ip and uses proxy basic
authentication. I've got a firewall that redirects all outgoing port 80
traffic to that ip so anyone wishing access goes proxied. The problem is yum
on my centos5 can't retrieve the .xml files for the various yum
repositories. In
2018 Mar 11
3
Squid vs. iptables redirection: exception for certain domains ?
Am 11.03.2018 um 11:53 schrieb Nicolas Kovacs <info at microlinux.fr>:
>
> I've experimented some more, and I have a partial success. Here, I'm
> redirecting all HTTPS traffic *except* the one that goes to my bank:
>
> iptables -A PREROUTING -t nat -i $IFACE_LAN -p tcp ! -d
> www.credit-cooperatif.coop --dport 443 -j REDIRECT --to-port 3129
>
> This works
2003 Aug 29
1
transparent proxy with shorewall
Hi,
I followed the instructions posted on the
shorewall web page for transparent proxy, but I
still cannot get it to work.
I have almost the same setup as described on the web, running squid on dmz, eth1, and the loc on eth2.
I can see that packets going out from the fw, they are not sent to the squid proxy, and if I try to telnet to the squid proxy to port 80, where I should be directed to
2005 Jun 28
1
Running ./tools/rsync-recommended through a proxy
My computers at my office will no longer be able to connect directly
to web sites etc. I will be going through a proxy server. The
particular server is running squid on port 3128.
I have managed to configure web browsers, ssh, apt, svn and a whole
lot of other tools to use the proxy server but I haven't been able to
configure rsync. My usual method of updating my copy of the R-devel
2018 Mar 11
2
Squid vs. iptables redirection: exception for certain domains ?
Hi,
I'm currently facing a quite tricky problem. Here goes.
I have setup Squid as a transparent HTTP+HTTPS proxy in my local
network. All web traffic gets handed over to Squid by an iptables script
on the server. Here's the relevant section in /etc/squid/squid.conf:
--8<-------------------------------------------------------------
# Ports du proxy
http_port 3130
http_port 3128
2005 Mar 18
4
Using squid transparent proxy and shorewall
Hello !
I have installed and configured squid(last version) transparent proxy and i am using shorewall(last version) as a firewall. I have redirected all of my local network''s http requests to the squid port(3128). But, from my local net i cannot ping a remote machine on the internet using his hostname like google.com. I could do it only when i use a ip address. All of computers in the
2007 Jan 08
2
shorewall/dansguardian/squid problem
ive got a config thats
client -> server ->Dansguardian->Squid -> onward adn I want to
transparently redirect web traffic to DG/Squid
Not sure where the problem lies - hoping you guys can help me and at
least tell me that its NOT my shorewall config
heres the configs
When I point a browser straight at 3128 or 3129 I get web pages back
and the appropriate stuff in the logs .
I get a
2016 Feb 04
5
Squid as interception HTTPS proxy under CentOS 7
Hi all,
I am trying to configure squid as a interception HTTPS proxy under CentOS 7. At every https request, I am receiving a certificate error.
My current config for squid is:
# My localnet
acl localnet src 172.22.55.0/28
acl localnet src 172.22.58.0/29
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70
2003 Aug 04
7
Redirect 80 to 3128
Hello Group
I am trying to set up a demo of Squid at my location to to a person that has proxy ports blocked on his firewall at his location by having him set his IE Browser
set to use proxy server 64.42.49.235 port 80.
My thinking was to set up a rule in shorewall which redirects port 80 to 3128 as in a local setting. My test server is running rh 7.3, Shorewall 1.3.14 with one interface
2003 Oct 29
11
Shorewall prerouting to a manual proxy
Hallo,
I got a problem (I think it''s not a Problem, I am just to stupid to manage
it)
Iwant my Server (eth1: addr:10.0.123.1, Local Zone), eth0 is connectet to
the Student-Network (addr:172.16.129.106 Mask:255.255.248.0 gateway:
172.16.128.1, Net Zone), to forward all packages from port 80 on local
Zone to www-cache.uni-halle.de:3128 (172.16.128.1:3128) because I have to
use this
2005 Feb 22
6
selective redirect
Hi,
I am trying to redirect my subnet thru squid and it seems to be working.
However I decided tu exclude two hosts from the redirect (ie acces the
net directly) and can''t manage to achieve that. I am using the following
rule:
REDIRECT loc:!192.168.13.48,!192.168.13.200 3128
tcp 80 -
With this rule everything gets redirected thru squid. I also tried:
2008 May 30
6
Routing squid to a different gateway
Hi all,
I''ve been using shorewall 3 (3.4.8 now) for a while on a simple gateway
setup for my office. Routing is enabled only for a few hosts and all user
access the internet thru squid, which is running on the shorewall box. I
have a few other services on this box and some others on another server, but
they don''t matter for what I need.
Quick and dirty schematics to illustrate
2005 Jan 27
12
problem with masquerading with shorewall
Hello,
I''m not sure if this has been asked before but I would like to
ask assistance for this problem I have.
I installed gentoo for my firewall/gateway and installed dhcp and shorewall.
Currently, I can ssh, ftp, remote desktop connect, ping, etc (anything
I can think of) from an internal computer inside my network to an
external IP, except I cannot surf the net. I can ssh/ftp to