Skip to content

Instantly share code, notes, and snippets.

View vruzin's full-sized avatar
🏠
Always working

Vruzin vruzin

🏠
Always working
  • ABC Union
View GitHub Profile
@vruzin
vruzin / install_3proxy.sh
Created August 5, 2024 17:47 — forked from igentuman/install_3proxy.sh
UBUNTU install 3proxy server
#!/bin/bash
echo -n "Enter Proxy Username: "
read PROXYUSER
echo -n "Enter Proxy Password: "
read PROXYPASS
echo -n "Enter Proxy Port (Default 9128): "
read PROXYPORT
DEFAULTNS=$(cat /etc/resolv.conf | gawk 'match($0, /nameserver\s([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/, a) {print a[1]}')
echo -n "Enter nameserver from /etc/resolv.conf (Autodected $DEFAULTNS): "
read DNS