Solved

RUN socks with squid proxy server on linux

Posted on 1998-11-24
1
755 Views
Last Modified: 2012-06-27
sir
iam running squid(2.0 release) proxy server on redhat-5.0(2.0.35).i want to run socks  proxy along with it
to give my clients full internet access .
sir how should i proceed
anyone can give me detailed answer how to do it.
advance thanks
0
Comment
Question by:hitraj
1 Comment
 
LVL 1

Accepted Solution

by:
iNFaMouS earned 50 total points
ID: 1587687
The easiest way is t edit the squid "RunCache" script and put "runsocks" in the line that runs the squid program. Make sure you are using the latest release of socks, previous versions weren't compatible with squid. You need socks5-v1.0r5.

Here is part of RunCache:

echo "Running: runsocks squid -sY $conf >> $logdir/squid.out
2>&1"
start=`date '+%d%H%M%S'`
runsocks squid -sY $conf >> $logdir/squid.out 2>&1

You might need to put the socks username and
password into the script also, if you have configured
your socks to use authentication. For example:

 SOCKS5_USER=squid
 SOCKS5_PASSWD=ocean
 export SOCKS5_USER
 export SOCKS5_PASSWD


I am assuming that you have socks working on the unix system
where squid will be running.

Greetings
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question