We raise VPN Outline and forward traffic through the TOR network
Everything will be running on Debian 12.
- Install the components:
apt install docker docker.io docker-compose
- Run the script:
bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"
- After launching, the script will configure everything itself and give you an admin key. With its help, you connect through the client manager and generate connection keys. The client and manager are here: https://getoutline.org/ru/get-started/
- Install tor:
apt install tor -y
- Add the following lines to the
/etc/tor/torrc
config:
SocksPort 9050
ControlPort 9051
- Restart tor:
systemctl restart tor
- Setting up iptables:
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports 9050
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-ports 9050
- Check
curl --socks5 127.0.0.1:9050 https://check.torproject.org
Done.