My campus use DNS filtering service to prevent access to NSFW/gambling and other banned sites. Previously I could bypass them using Google DNS with mobile connection (the firewall redirects all DNS traffic to local server) but now it does not work anymore.
Although I get correct IP address from Google DNS, the 'website' I'm accessing returns 302 and redirects me to a landing page of the filtering service.
# wget nicovideo.jp --2014-01-22 14:51:18-- http://nicovideo.jp/ Resolving nicovideo.jp (nicovideo.jp)... 126.96.36.199 Connecting to nicovideo.jp (nicovideo.jp)|188.8.131.52|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://block.nawala.org/?24b5bacb240be71ce0843ec1 [following] # hijacked!! --2014-01-22 14:51:19-- http://block.nawala.org/?24b5bacb240be71ce0843ec1 Resolving block.nawala.org (block.nawala.org)... 184.108.40.206 Connecting to block.nawala.org (block.nawala.org)|220.127.116.11|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5763 (5.6K) [text/html] Saving to: ‘index.html’
I'm interested with this potent website filtering. Any idea how to set this up? I might need it later, or maybe I can find a workaround for this blocking. Thanks
Probably have to go through a different connection:
"man ssh" - look at the "-D" option:
Specifies a local “dynamic” application-level port forwarding.
ssh -p sshport -C2qTnN -D httpport firstname.lastname@example.org
Then can use with e.g. privoxy, in /etc/privoxy/config:
forward-socks5 / 127.0.0.1:8080
... If 8080 is what you used for httpport, for example.
At a guess, they could be IP hijacking. Only a guess.
*mod hat on*
or maybe I can find a workaround for this blocking.
This isn't something we condone on the forums -- you are being provided the service as part of your educational curriculum, and use it subject to the terms and conditions of those providing it. Obviously those terms and conditions include it being filtered for what they deem to be questionable and/or objectionable content.