Downloading Large Files On Iitg Network

[UPDATE 23/02/2016] Linux Tutorial Added

Prerequisites- WinRAR

1. Click Here to download Gproxy.

2. Extract the .tar file using WinRAR.

3. Go to the extracted Gproxy folder and click on 'Gproxy Installer'.

4. A command prompt will be opened and Java Runtime Env. will be installed if it hasn't been installed already.

5. Go through the JRE installation procedure.

6. A new Dialog Box will open for Gproxy installation.

6. Install Gproxy.

7. Open Gproxy and configure it.

8. Type your Proxy Address (it will be of the form 202.141.XX.XX).

9. Next type 3128 as the Proxy port and your webmail user id and password in their respective fields.

10. Leave the listening port to its default value. Click on Start Proxy.

At the end it should look similar to this-































11. Next we need IDM.

12. Extract the downloaded .rar file and go to the Setup Folder.

13. Install idman619build9f.exe .

14. After installation is complete , go to the crack folder extracted with the other files and double click on the appropriate .reg file. The reg. file depends on whether your OS is 64 bit or 32 bit.

15. Click yes to the Dialog Boxes that follow.

16. Close IDM in case it is open after installation.

17. Copy the IDMan.exe file from the crack folder and paste it to the parent directory for IDM.
 You can find the parent directory by right clicking on the IDM shortcut and clicking 'Open File Location'.

18.  Run IDM and click on the Options button.






19. Go to Proxy/SOCKS and configure it as given below-




20. Click OK.

21. You will need to start Gproxy every time you want to download large files.

With that you are done configuring your Connection for downloading large files from the internet.

Congrats!

If you need help with something else , leave a comment below!

Linux:

To do the same in Linux


Prerequisites : Java Runtime

Download the following file : Gproxy

Extract it and run the command

"java -jar Project\ Skynet.jar"

Proceed as above in the windows that opens.



Squid For Ubuntu, Because Proxies Are Too Much Of A Hassle

EDIT : Added Authentication methods for dynamic ips


It has been more than a year since I have been using squid to mitigate all the proxy problems that come due to the proxy authentication.

This is the most effective and hassle free way to set proxy in Linux.

Steps:

Note : Replace 'squid' with 'squid3' if you are not using Ubuntu 16.04

1. Install squid

sudo apt-get install squid

2. Edit the squid configuration file.

sudo vim /etc/squid/squid.conf

(for Ubuntu 15.10 and older)

sudo vim /etc/squid3/squid.conf

3. Delete all the contents of that file and replace them with the configuration given below:


Replace 10.0.2.21 with your own ip address/ other ip addresses that you want to access this proxy from.

Change 202.141.80.22 with your Proxy server address.

Change username:password to your proxy username and password.

4. Save the file ( Esc and ":wq" for vim noobs)

5. Restart the squid server.

sudo service squid restart

(for Ubuntu 15.10 and older)

sudo service squid3 restart

6. Edit your Proxy Settings from the network manager.




















7. Open your bash profile.

sudo vim /.bashrc

Append the following to the end of the file.

export http_proxy=http://127.0.0.1:3128
export https_proxy=http://127.0.0.1:3128


The above two things should effectively resolve all proxy problems ( Environment Variables inclusive. )

8. Source the bashrc

source /.bashrc

And with that you are done!

You have your own personal proxy server!

Say goodbye to proxy problems.


PS - For those of you on the more geeky side of things, what we have done with the above is create our own proxy server that caches another proxy server with authentication.

The proxy server we have made is effectively a non authentication proxy server for the ips in the allowed_ips acl.

If used a bit cleverly it might also help you get around some other big-'time' restrictions ;) .

Use wisely!





Squid with username password authentication

Follow the steps as above.

Afterwords, do the following:

1. Install apache2-utils
sudo apt-get install apache2-utils

2. Make the password file

Replace squid3 with squid if Ubuntu 16.04

sudo touch /etc/squid3/passwd

sudo chmod 755 /etc/squid3/passwd

3. Create a username/password pair


sudo htpasswd /etc/squid3/passwd user1

4. Change the squid.conf file as follows:
5. Restart squid.

sudo service squid3 restart

Free Vpn(Unlimited Connections)

So, one of the many benefits of being a student is that you get free access to a lot of stuff.

One of the best such student dev. kits is the Github Student Developer Pack.

It has lots of free goodies that you can go check out in detail.

One of the best things that is included in the pack however is 50$ of Digital Ocean credits.


And this is how we will setup our own private VPS that will give us free unlimited VPN connections for about 12 months depending on your data needs.

Here are the steps to do so -

1. Make your GH account using a .ac or .edu mail id. (So that it is eligible for the GH student pack)
2. Get your GH student pack .
3. Make a new Digital Ocean account. (DO might ask CC informasi for verification purposes)
  Remember to use the following referral link while signing up to get free 10$ of Digital Ocean credits - https://m.do.co/c/0fb06a5c5cf9

4. Once you have created the account, create a support ticket to apply the GH promo code since only customer support executives can apply it to an account. Just keep the ticket title as "Help with applying GH student Promo code" and paste the promo code you got from GH student pack in the body asking them to apply the code for 50$ of credit. They will reply back in 1 hrs with the promo applied.
5. Once you are signed up and ready to roll, create a droplet
6. Choose a config according to your needs, I prefer the 5$/pm droplet since it has about 1000gigs of bandwidth and running a VPN barely costs any RAM or CPU. Also choose a Data center region, I am using a US based data center since it allows me to access US only websites. You can choose Indian servers for better ping. Use Ubuntu 16.04 as your OS.

7. Once it is up and running, SSH into the droplet.
8. Run the following script in command-line -

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

9.  Follow the interactive tutorial upon the execution of the above script. Use the default values except for the following options:
a. Which protocol do you want for OpenVPN connections?
  - TCP
b. What port do you want OpenVPN listening to?
  - 443
c. Which DNS do you want to use with the VPN?
 - Google
10. Copy the generated client.ovpn file to your client.
10. Install an open-vpn client (either on your phone or your Desktop) and run from the generated config.
 For ubuntu you can do this via -
sudo apt install openvpn network-manager-openvpn-gnome
11. Et. Voila, unrestricted unlimited VPN. (Also helps get past pesky proxy issues on your phone)


Have fun with your free VPN connection ;)

P.S. - You can also use the above droplet to host your own websites and other cool stuff. You basically have your own VPS! :D

Downloading Large Files On Iitg Network

[UPDATE 23/02/2016] Linux Tutorial Added

Prerequisites- WinRAR

1. Click Here to download Gproxy.

2. Extract the .tar file using WinRAR.

3. Go to the extracted Gproxy folder and click on 'Gproxy Installer'.

4. A command prompt will be opened and Java Runtime Env. will be installed if it hasn't been installed already.

5. Go through the JRE installation procedure.

6. A new Dialog Box will open for Gproxy installation.

6. Install Gproxy.

7. Open Gproxy and configure it.

8. Type your Proxy Address (it will be of the form 202.141.XX.XX).

9. Next type 3128 as the Proxy port and your webmail user id and password in their respective fields.

10. Leave the listening port to its default value. Click on Start Proxy.

At the end it should look similar to this-































11. Next we need IDM.

12. Extract the downloaded .rar file and go to the Setup Folder.

13. Install idman619build9f.exe .

14. After installation is complete , go to the crack folder extracted with the other files and double click on the appropriate .reg file. The reg. file depends on whether your OS is 64 bit or 32 bit.

15. Click yes to the Dialog Boxes that follow.

16. Close IDM in case it is open after installation.

17. Copy the IDMan.exe file from the crack folder and paste it to the parent directory for IDM.
 You can find the parent directory by right clicking on the IDM shortcut and clicking 'Open File Location'.

18.  Run IDM and click on the Options button.






19. Go to Proxy/SOCKS and configure it as given below-




20. Click OK.

21. You will need to start Gproxy every time you want to download large files.

With that you are done configuring your Connection for downloading large files from the internet.

Congrats!

If you need help with something else , leave a comment below!

Linux:

To do the same in Linux


Prerequisites : Java Runtime

Download the following file : Gproxy

Extract it and run the command

"java -jar Project\ Skynet.jar"

Proceed as above in the windows that opens.



Squid For Ubuntu, Because Proxies Are Too Much Of A Hassle

EDIT : Added Authentication methods for dynamic ips


It has been more than a year since I have been using squid to mitigate all the proxy problems that come due to the proxy authentication.

This is the most effective and hassle free way to set proxy in Linux.

Steps:

Note : Replace 'squid' with 'squid3' if you are not using Ubuntu 16.04

1. Install squid

sudo apt-get install squid

2. Edit the squid configuration file.

sudo vim /etc/squid/squid.conf

(for Ubuntu 15.10 and older)

sudo vim /etc/squid3/squid.conf

3. Delete all the contents of that file and replace them with the configuration given below:


Replace 10.0.2.21 with your own ip address/ other ip addresses that you want to access this proxy from.

Change 202.141.80.22 with your Proxy server address.

Change username:password to your proxy username and password.

4. Save the file ( Esc and ":wq" for vim noobs)

5. Restart the squid server.

sudo service squid restart

(for Ubuntu 15.10 and older)

sudo service squid3 restart

6. Edit your Proxy Settings from the network manager.




















7. Open your bash profile.

sudo vim /.bashrc

Append the following to the end of the file.

export http_proxy=http://127.0.0.1:3128
export https_proxy=http://127.0.0.1:3128


The above two things should effectively resolve all proxy problems ( Environment Variables inclusive. )

8. Source the bashrc

source /.bashrc

And with that you are done!

You have your own personal proxy server!

Say goodbye to proxy problems.


PS - For those of you on the more geeky side of things, what we have done with the above is create our own proxy server that caches another proxy server with authentication.

The proxy server we have made is effectively a non authentication proxy server for the ips in the allowed_ips acl.

If used a bit cleverly it might also help you get around some other big-'time' restrictions ;) .

Use wisely!





Squid with username password authentication

Follow the steps as above.

Afterwords, do the following:

1. Install apache2-utils
sudo apt-get install apache2-utils

2. Make the password file

Replace squid3 with squid if Ubuntu 16.04

sudo touch /etc/squid3/passwd

sudo chmod 755 /etc/squid3/passwd

3. Create a username/password pair


sudo htpasswd /etc/squid3/passwd user1

4. Change the squid.conf file as follows:
5. Restart squid.

sudo service squid3 restart

Free Vpn(Unlimited Connections)

So, one of the many benefits of being a student is that you get free access to a lot of stuff.

One of the best such student dev. kits is the Github Student Developer Pack.

It has lots of free goodies that you can go check out in detail.

One of the best things that is included in the pack however is 50$ of Digital Ocean credits.


And this is how we will setup our own private VPS that will give us free unlimited VPN connections for about 12 months depending on your data needs.

Here are the steps to do so -

1. Make your GH account using a .ac or .edu mail id. (So that it is eligible for the GH student pack)
2. Get your GH student pack .
3. Make a new Digital Ocean account. (DO might ask CC informasi for verification purposes)
  Remember to use the following referral link while signing up to get free 10$ of Digital Ocean credits - https://m.do.co/c/0fb06a5c5cf9

4. Once you have created the account, create a support ticket to apply the GH promo code since only customer support executives can apply it to an account. Just keep the ticket title as "Help with applying GH student Promo code" and paste the promo code you got from GH student pack in the body asking them to apply the code for 50$ of credit. They will reply back in 1 hrs with the promo applied.
5. Once you are signed up and ready to roll, create a droplet
6. Choose a config according to your needs, I prefer the 5$/pm droplet since it has about 1000gigs of bandwidth and running a VPN barely costs any RAM or CPU. Also choose a Data center region, I am using a US based data center since it allows me to access US only websites. You can choose Indian servers for better ping. Use Ubuntu 16.04 as your OS.

7. Once it is up and running, SSH into the droplet.
8. Run the following script in command-line -

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

9.  Follow the interactive tutorial upon the execution of the above script. Use the default values except for the following options:
a. Which protocol do you want for OpenVPN connections?
  - TCP
b. What port do you want OpenVPN listening to?
  - 443
c. Which DNS do you want to use with the VPN?
 - Google
10. Copy the generated client.ovpn file to your client.
10. Install an open-vpn client (either on your phone or your Desktop) and run from the generated config.
 For ubuntu you can do this via -
sudo apt install openvpn network-manager-openvpn-gnome
11. Et. Voila, unrestricted unlimited VPN. (Also helps get past pesky proxy issues on your phone)


Have fun with your free VPN connection ;)

P.S. - You can also use the above droplet to host your own websites and other cool stuff. You basically have your own VPS! :D

Search

Popular Posts

Blog Archive