![]() ![]() Notice the last two lines of the nf file. The default is 3128, but you may want to use 8080 or some other port.ħ. You may also want to edit the default port that Squid listens on. If you don’t use a proxy, you must delete the two lines in the proxy section, or put a # infront of them so that Squid ignores them. In your new nf file change the proxy number and port number as needed. #If you want to use a different user-agent, just replace "JDownloader" with whatever agent you want to use #Squid denies all user-agents and then replaces them with another user agent, in this case "JDownloader" Not sure what they all do, but they are recommended and don't seem to hurtĬache_dir ufs c:/squid/var/cache 100 16 256Īccess_log c:/squid/var/logs/access.log squidĪcl shoutcast rep_header X-HTTP09-First-Line ^ICY. #If you aren't going to use a proxy you must delete or put a # before these linesĬache_peer YOUR_PROXY_IP_ADDRESS parent YOUR_PROXY_PORT_NUMBER 0 no-query no-digest #Replace “YOUR_PROXY_PORT_NUMBER” with your proxy port number #Replace “YOUR_PROXY_IP_ADDRESS” with your proxy number. #The first line indicates the proxy, the second tells Squid to forward everything it receives to the proxy #These next lines are necessary if you are going to use a proxy. #In JDownloader you will then set your proxy to 127.0.0.1 and your port to whatever port you indicate here #Indicate the port you want the proxy (127.0.0.1) to listen on. #Allow htcp access to localhost, block everyone else #In this case we don't need icp access (access to the Squid cache), so we'll block that for everyone #We allow access to the localhost, but block everyone else #Now we will identify ports we want to later allow or blockĪcl Safe_ports port 1025-65535 # unregistered ports #We are going to identify some IPs (all and localhost) we will later allow or blockĪcl localhost src 127.0.0.1/255.255.255.255 In the c:\squid\etc directory copy and rename the following files:Ĭode: #These first lines identify "access control lists". If you are going to use a different directory, you will need to modify all the configuration files to point to that directory, as well as the instructions below to adjust to that fact.ģ. It is highly recommended you use this directory. This is the latest stable Windows release.Ģ. The instructions below should be easy to adapt to other operating systems.ġ.ğor Windows, download Squid from **External links are only visible to Support Staff****External links are only visible to Support Staff** (for non-supporters: h-t-t-p:///download/squid-2.7.STABLE8-bin.zip). This tutorial is for Windows, but if you need to run it on Linux or some other operating system, just head over to **External links are only visible to Support Staff****External links are only visible to Support Staff** (that's h-t-t-p:///SquidFaq/BinaryPackages for you non-supporters out there!) and download the version you need. I am using Squid proxy in this tutorial, and running it on Windows. The local proxy will modify the user-agent string before sending out the requests. What we are going to do is install a local proxy and send JDownloader’s requests through the local proxy to the Internet. If JDownloader is working just fine, or you don’t know what a user-agent string is, feel free to move on – it’s something you don’t need to worry about. Regardless of what the reason is, if you need to modify JDownloader’s user-agent, this guide is for you. If you search around on the forum here, you will see that every once in a while this feature request has come up for one reason or another. I recently found myself needing to change JDownloader’s user-agent string, as I am oftentimes behind a ZScaler filter, which doesn’t work well with JDownloader using the default user-agent string (if you are interested in knowing why, cf. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |