Skip to content

Instantly share code, notes, and snippets.

@Raidus
Last active October 5, 2019 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raidus/fd25e7519df98a20fc9fbe2c5668bdc2 to your computer and use it in GitHub Desktop.
Save Raidus/fd25e7519df98a20fc9fbe2c5668bdc2 to your computer and use it in GitHub Desktop.
Hetzner + Tinyproxy + Floating IP
  1. Add static ip

nano /etc/network/interfaces.d/60-my-floating-ip.cfg

auto eth0:1
iface eth0:1 inet static
    address your.float.ing.ip
    netmask 32
  1. Install tinyproxy from git (support auth)
git clone https://github.com/tinyproxy/tinyproxy.git
sudo apt-get install automake cmake asciidoc 

cd tinyproxy
./autogen.sh
make && make install

If installation fails: https://stackoverflow.com/a/44848492

  1. Install tinyproxy

nano /etc/tinyproxy/tinyproxy.conf

=> Uncomment BindSame yes

BasicAuth user password

Allow 62.143.106....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment