[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Tutorials & How To's  |  Topic: Configuring Squid Proxy server & Transparent Proxy
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: 1 ... 9 10 [11]
  Print  
Author Topic: Configuring Squid Proxy server & Transparent Proxy  (Read 91832 times)
0 Members and 1 Guest are viewing this topic.
Austin
New Member

Offline Offline

Posts: 3


View Profile
« Reply #150 on: June 04, 2006, 08:05:07 PM »

Hello , Finally I  get a Transparent Proxy running on a single machine , Thanks to the help of IRC

The method is simple , configure Squid for Transparent proxy by adding all necessary paramaters.

and the iptables command for it is

iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner ! --uid-owner squid -j REDIRECT --to-port 3128

It works like a charm Smiley

Thanks
Austin
Logged
lito
Linux Noob !
*
Offline Offline

Posts: 5


View Profile
« Reply #151 on: June 20, 2006, 03:19:36 AM »

i cant locate the       /usr/local/squid/etc/squid.conf
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #152 on: July 01, 2006, 03:01:35 AM »

sometimes its in /etc/squid/ .
You may try there.
Logged
ruejos08
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #153 on: August 02, 2006, 05:06:43 AM »

EI thenitin we have the same problem. Did you already solve it? I have already up a dhcp server and internet proxy server(i used squid for the proxy). But when we try to access our POP3 mail server with the Microsoft Outlook Express, coz the clients were WinXP, I encountered a problem and I cant connect to the server. Our internet explorer works but the OutLook Express dont. Is there something to do with my squid configuration. Please help me on this. Godspeed!
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #154 on: August 04, 2006, 09:50:31 AM »

It is most common problem and can be solved by port forwarding. It has been discussed so many times and I am you will get benefitted from old discussion we had on this forum.
Logged
ruejos08
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #155 on: August 11, 2006, 08:56:01 PM »

Ei Ricky can you give me some link to those forums. Thanks!
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #156 on: August 12, 2006, 03:11:45 AM »

See Port forwarding
and NAT
Internet Sharing using NAT

There are other numerous post and you find those in proxy section or General networking section.
Logged
ruejos08
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #157 on: August 22, 2006, 02:43:43 AM »

Ei Ricky I encounter a problem when Im trying to create a cache dir with the code
/usr/local/squid/sbin/squid -z

Failed to make swap directory /usr/local/squid/var/cache: (13) Permission denied.

Please help me on this. Thanks!
Logged
ruejos08
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #158 on: August 22, 2006, 03:13:24 AM »

Eniwei I am using Squid 2.6 STABLE.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #159 on: August 23, 2006, 11:41:37 AM »

you have to see about permission structure, I have discussed same in this thread around page 4 or 6 . Kindly check that.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #160 on: August 23, 2006, 11:43:36 AM »

Well. I have discussed here.. --> http://www.linuxsolved.com/forums/ftopic116-0-asc-45.html
Logged
ruejos08
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #161 on: August 24, 2006, 02:44:04 AM »

Thanks a lot Ricky. I have tried all of your recommendations but still it does not solved my problem.

I have a Linux DHCP server and Proxy server with Microsoft Windows clients. We are using microsoft outlook express to access our mail server. But with the Linux Proxy server I have a problem connecting. The internet explorer was ok.

I found out the property and here are the details
Server Port Numbers
Our outgoing mail(SMTP) used port 25  and  our incoming mail(POP3) used port 110.
Our mail server is mail.inzpect.com.
While connecting here is the error.

The host'mail.inzpect.com' could not be found. Please verify that you have entered the server name correctly. Account: 'inzpect.com', Server: 'mail.inzpect.com', Protocol:POP3,Port: 110, Secure(SSL):no, Socket Error:11004,Error Number: 0x800CCC0d.

Please help me solve this. Thanks a lot.
Logged
debasishg
New Member

Offline Offline

Posts: 1


View Profile
« Reply #162 on: September 10, 2006, 02:08:17 PM »

Ricky,

I have found your tutorial and accroding the tutorial, i have configured my squid proxy in my Mandriva linux. i have also used your squid.conf file and put my IPs there and it was successfully running.

I have 25 client PCs. Due to soe internal problem, we have taken a DSL connection with a public IP which is mapped with our default intranet. We need to make the proxy setup in the browser to access the server with basic authentication. im using win xp and running analogX proxy to use the connection with the clients. now i have decided to use Linux and squid. i'm successful to make the connection with the clients using squid. but unable to use the redirection to the proxy address of our server. after going thru the tutorial, i think i have to use this

Code:
cache_peer <IP ADDRESS> parent 3128 no-query



if it is OK, then i have some query regarding this.

1. where do i put this line in to squid.conf file?
2. we are having diff ports to access the server as
Code:

HTTP:  <IP ADDRESS> port: 808
SSL:    <IP ADDRESS> port: 808
FTP:     <IP ADDRESS> port: 2121
Socks: <IP ADDRESS> port: 1080


how can i define these. currectly we need only HTTP.

Basicaly is it something like using a proxy server for a proxy server. [server will user proxy IP and clients will use proxy to access the proxy.]

now all the clients can get connected to the internet via SQUID.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #163 on: September 11, 2006, 03:09:34 PM »

put that line in begining mostly and squid handles all such request on one port so you don't need to define all such specially.
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: 1 ... 9 10 [11]
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 05:27:19 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:53:39 AM]

[Today at 02:45:38 AM]

[December 03, 2008, 10:18:57 AM]

[December 02, 2008, 11:32:02 AM]

[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]
Members
Total Members: 6262
Latest: abhijitabhijit
Stats
Total Posts: 8290
Total Topics: 2261
Online Today: 19
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 9
Total: 9
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc