proxy


Using Debian behind a Proxy

If you are using Debian behind a proxy (e.g. Squid), you just have to declare the following environment variables to use it: export HTTP_PROXY=[IP]:[PORT] export HTTPS_PROXY=[IP]:[PORT] export FTP_PROXY=[IP]:[PORT] Change [IP] and [PORT] accordingly. In order to stay persistent, you could add the above commands to ~/.profile or /etc/bash.bashrc for example.


Setting up a transparent proxy for VPN via SSH using sshuttle

I found this tool and it's quite useful if you need to run VPN via SSH on Linux or Mac OS. You can download the tool from here via git or as a zip file. git clone https://github.com/apenwarr/sshuttle.git Then go to your sshuttle folder and start your proxy like this: ./sshuttle –dns -vvr <user>@<host> 0/0 <user> […]


Install Jenkins on Debian

First of all add the key of the Jenkins server to apt: wget -q -O – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add – Then create the sources.list entry or better create a file in /etc/apt/sources.list.d/: echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list Then install the package: apt-get update apt-get install jenkins Jenkins will by default run on port […]