Solved

RUN socks with squid proxy server on linux

Posted on 1998-11-24
1
753 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
Comment Utility
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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now