New on LowEndTalk? Please Register and read our Community Rules.
Proxy
Hi
Does anyone have an idea how to setup a proxy server with authentication on linux (Squid like)
Already asked @onepound but sadly he didnt know
Before i get why etc its so i can bypass the FUP limits on my t-mobile mobile broadband stick. after you pass 1GB they block everything except http/https and some proxy ports. (And SSTP)
Comments
Move SSH to port 443 and use it as a proxy.
i dont think its port blocking... i think its a little deeper.
Possibly DPI and a Firewall
Surely they'll allow corporate VPNs, right?
Try moving OpenVPN onto 443, see if that works.
Try moving OpenVPN onto 443, see if that works.
Nope. And openVPN tcp sometimes works but its like a 10% success rate.
I don't think its possible to DPI SSL encrypted traffic. Did you already give it a try?
Yes i have tried that.
And like i said it only works like 10% of the time
Errors i get are Connection reset by peer etc
Easy as pie.
!/bin/bash
user=$1
thepath=$PWD
apt-get update -y && apt-get upgrade -y
apt-get install squid unzip apache2-utils -y
cd /etc/squid
squid -k shutdown
rm squid.conf
wget http://pastebin.com/download.php?i=4sy7CkAx -O squid.conf
htpasswd /etc/squid/users_passwd $user
/etc/init.d/squid start
exit 0
You said openVPN tcp connections get reset 10% of the time.
Anyway it might help to send keepAlive packets more often or to use their HTTP proxy (if they provide one)
No i must have said it wrong. The chances of getting connected (And staying connected are 10%
Yeah but my point was that you were refering to OpenVPN, not SSH
lol. Yes i was. SSH is blocked 24-7
If everything else fails you can use those TCP-in-DNS solutions but i think they have a really limited bandwidth.
Managed to get squid going but i keep getting this
While trying to retrieve the URL: http://www.lagado.com/proxy-test
The following error was encountered:
•Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is root.
although the AC is set fine
You can combine standard HTTP proxy and OpenVPN. Basically you use HTTP proxy to connect to openvpn. Read the proxy section at openvpn's manpage.
how about polipo + have it only allow your IP address.
Yes but from my (1 year ago) experience it's only like 0.1Mbps of throughput.
Though I am still sticking with them it seems like they're no longer maintained
My suggestion is to setup polio on your VPS, bind to localhost then setup SSH to listen at port 443 and create a tunnel between polipo and your computer with putty on windows.
If you want a Squid sample, I could give you my configuration sample.
This one is Squid 2.7 based :
That configuration will enable squid for running at port 1212, and require authentification from the users_passwd.
To create the password authentication :
Download link is removed due some abusing attempt from Finland.
Can you email me the files? to save for future.
Does that equal .38KB/s per month?
No, that's not the problem for the bandwidth
The users_password is having real username and password for connecting to the squid proxy. So I don't want it to be used to do a hacking trial to someone server
And also, I saw so many access to this file from my webstats, and it comes from some country (Finland) and another IP which is listed in spambot
Abusing how? Just block access from that IP. Anyway, just edit the file and replace it with dummy information.
Thank you. I will try it