Last active
December 23, 2022 22:34
-
-
Save Ne00n/e1759e129e8eab89ed14be7087cb3024 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
echo -e "Explanation: tor meta, always run latest version of obfs4proxy | |
Package: obfs4proxy | |
Pin: release a=bullseye-backports | |
Pin-Priority: 500" > /etc/apt/preferences.d/obfs4proxy.pref | |
apt-get install obfs4proxy tor -y | |
sudo setcap cap_net_bind_service=+ep /usr/bin/obfs4proxy | |
sed -i 's/NoNewPrivileges=yes/NoNewPrivileges=no/' /lib/systemd/system/[email protected] | |
sed -i 's/NoNewPrivileges=yes/NoNewPrivileges=no/' /lib/systemd/system/[email protected] | |
systemctl daemon-reload | |
systemctl enable --now tor.service | |
systemctl restart tor.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment