Squid using 2 Ethernet in Proxy System


 
Thread Tools Search this Thread
Operating Systems Linux Squid using 2 Ethernet in Proxy System
# 1  
Old 01-31-2014
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 gateway for proxy system 192.168.1.1
DNS : 192.168.1.1
ADNS 8.8.8.8

I have configured transperent Squid Proxy using this below link

How to install squid proxy on centos 6

And Working, I have connected as

Internet----> Router---> Proxy System--->LAN Switch ---> User's

As mentioned in above website i have used iptables script and changed the eth0 to internet and eth1 to lan
But User's cant browseable the internet, So i have replaced eth0 for both internet and LAN if so its browseable for User's and its working, how can i fix this to work with both ethernet by getting the internet into eth0 and send the filterd data to lan using eth1, Did i need to use any other iptables rules too ? only i need to get filter some website to use by user's in my LAN, Any one guide me to get fix this issue please.
# 2  
Old 02-08-2014
Problem Solved

I Used this Setup ----> Squid Internet Filtering Using 2 Ethernet Card's

Last edited by babinlonston; 02-11-2014 at 04:32 AM..
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. 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

3. IP Networking

Does Translated IP Matter For Proxy Server (SQUID)

I am using Squid to create a proxy server for framework related to an application. My users sit on a private network in 191.xx.xx.xx space and my proxy sits in a different private network in 188.xx.xx.xx space. There will be a NAT in place to allow bidirectional communications but is there an... (5 Replies)
Discussion started by: BobSpero
5 Replies

4. UNIX for Advanced & Expert Users

Squid Dynamic Proxy Server Configuration

Hello all, I am trying to configure squid proxy server for different organizations. These organizations will have different blocked ports, different acls, etc. But, I can use only one proxy server for this purpose. Thinking of making a shell script with iptables and squid. For an example: a... (1 Reply)
Discussion started by: admin_xor
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. UNIX for Advanced & Expert Users

Setup a Reverse Proxy on Squid

Hi all, The scenario is: http://img834.imageshack.us/img834/7990/1234z.jpg - 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... (0 Replies)
Discussion started by: kidzer0
0 Replies

7. IP Networking

How to set up Squid Proxy as a web page

I have Squid set up, but when my friend wants to use it, he has to enter my IP and port in his browser settings every time. How can I make it so that he only has to go a webpage I create, and use the proxy from there instead of having to change his browser Network settings every single time? I also... (1 Reply)
Discussion started by: guitarscn
1 Replies

8. 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

9. 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

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