[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

RUN socks with squid proxy server on linux

Posted on 1998-11-24
1
Medium Priority
?
779 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
iNFaMouS earned 100 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

656 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