Giter VIP home page Giter VIP logo

set_proxy's Introduction

LINUX Proxy

The script in the repository sets/unsets proxy for most frequently used commands in the Ubuntu/Debian system.

  • Gnome system wide
  • Apt Package Installer
  • Environment
  • Terminal
  • Git

How to run

You need to have internet to download the script, use mobile data and hotspot.

  • Open terminal by pressing Ctrl+Alt+T
  • Install wget.
    sudo apt-get install wget
  • Download the repository.
    wget https://github.com/thealphadollar/set_proxy/archive/master.zip
  • Unzip the file.
    unzip master.zip
  • Change directory to the inflated archive folder.
    cd ./set_proxy-master
  • Launch the script sudo ./set_proxy.sh
  • Enter proxy host (172.16.2.30 for KGP) and proxy port (8080 for KGP) when prompted.
  • Voila, proxy set! Preferably restart the system, or at least restart the terminal session.

Going Home?

You can use the same script to remove proxy from your system when going to home. Just run following command in your terminal and restart system.

sudo ./set_proxy.sh --unset

Test

Connect to the campus network; wifi or LAN.

  • Open www.google.com in browser
  • In terminal sudo apt-get install curl
  • In terminal curl www.google.com

If all the above steps pass, congratulations!

support

For any quries, please raise an issue or contant github@thealphadollar.

set_proxy's People

Contributors

thealphadollar avatar themousepotato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.