Setup a Reverse Proxy on Squid


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setup a Reverse Proxy on Squid
# 1  
Old 07-23-2010
Setup a Reverse Proxy on Squid

Hi all,
The scenario is:
Image
- With:
+ 192.168.100.0/24 : internet link (simulation)
+ Multiple Websites are hosting in local.
+ Complete DNS configuration.
+ OS: CentOS 5
- Requirements:
Configure Squid Proxy as Reverse Proxy to redirect IP to local website when receive queries from internet users.
*P/S: I've read the documentation from squid : Optimising Web Delivery and Visolve - Open Source Solutions | Squid Cache Proxy Support, but when I edit the squid.conf file, the squid proxy was down, can't restart Smilie
thx for ur consideration,

---------- Post updated 07-23-10 at 10:41 AM ---------- Previous update was 07-22-10 at 03:56 PM ----------

a silent...............

---------- Post updated at 03:09 PM ---------- Previous update was at 10:41 AM ----------

Squid Proxy:
-eth0 172.16.100.100
-eth1 192.168.100.100
Internet Client: 192.168.100.101
this is my configuration in squid.conf file:

http_port 80 accel defaultsite=192.168.100.100 vhost
cache_peer 172.16.100.1 parent 80 0 no-query originserver name=abc
acl abc_users dstdomain 192.168.100.100
http_access allow abc_users
cache_peer_access abc allow abc_users
cache_peer_access abc deny all
--------------------
it doesn't work T_T
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Not able to setup CentOS 7 as gateway [Using squid proxy]

Hello, Did anyone setup a CentOS7 as a gateway (with squid transparent proxy). I am trying to do so but not able to setup. I setup squid , iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work. It work previously but access.log of squid not getting... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

2. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

3. Shell Programming and Scripting

Squid proxy shell script

i need squid proxy log file daily auto generate by shell script (1 Reply)
Discussion started by: sanjeetkumar086
1 Replies

4. Linux

Squid using 2 Ethernet in Proxy System

Hi All Im using squid Proxy in centos Squid version = squid.x86_64 7:3.1.10-20.el6_5 CentOS release 6.5 (Final) Router IP = 192.168.1.1 My proxy System have 2 Ethernet port eth0 eth1 Using IP address for eth0 = 192.168.1.15/24 using IP address for eth1 = 192.168.1.16/24 Default... (1 Reply)
Discussion started by: babinlonston
1 Replies

5. IP Networking

SQUID Proxy server configuration

Can any one direct me to the resources where I can find in-depth instructions on Squid Proxy server and its configuration? Thanks in advance.:) (1 Reply)
Discussion started by: admin_xor
1 Replies

6. IP Networking

SQUID Transparent Proxy Server

hi guys! We are setting up Squid Server. we want the server to be transparent. But I don't know how will i be able to set the network up. is it possible to set the squid server in the same LAN with the Squid Client and still functions as a transparent server? if so, can anybody help me do it? ... (1 Reply)
Discussion started by: init6_
1 Replies

7. UNIX for Dummies Questions & Answers

Reverse Proxy difficulty

Hi I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally. The latest two I wish to add are a bit different, they are app servers, one... (1 Reply)
Discussion started by: rboekdrukker
1 Replies

8. IP Networking

Squid Proxy URL rewriting

I have an architecture as below <> <> There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS processing server. Like, http://smsserver/mysms=test However the application does not have an option to specify where the Proxy server... (1 Reply)
Discussion started by: firdousamir
1 Replies

9. Linux

Reverse Proxy

I have configured reverse proxy through apache...conf file is attached My reverse proxy has a public ip.it is redirecting the request to 172.16.1.43 which is http server.....Now i have a link in Http server's home page which will redirect the request to another Lan zone machine... (0 Replies)
Discussion started by: dipanrc
0 Replies

10. UNIX for Advanced & Expert Users

squid proxy and apache servers

hi. pardon my noob question id just like to have a quick answer. i am planning to install a jabber webclient and a jabber server in our apache server. my boss said this wouldnt work because squid filters port 5222 connections (jabber). i told him we can simply 'unfilter' the port then but he said... (0 Replies)
Discussion started by: marcpascual
0 Replies
Login or Register to Ask a Question