?
Solved

RUN socks with squid proxy server on linux

Posted on 1998-11-24
1
Medium Priority
?
767 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

770 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