Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install dante-server && apt install net-tools && ifconfig
- sudo nano /etc/danted.conf
- logoutput: syslog stdout /var/log/sockd.log
- internal: 0.0.0.0 port = 1080
- external: ens3
- socksmethod: username
- clientmethod: none
- internal: 0.0.0.0 port = 1080
- user.privileged: root
- client pass {
- from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
- socksmethod: username
- }
- socks pass {
- from: 0.0.0.0/0 to: 0.0.0.0/0
- socksmethod: username
- protocol: tcp udp
- }
- sudo useradd --shell /usr/sbin/nologin username
- password
- sudo systemctl restart danted
- systemctl status danted
- ***********************************************************************************
- sudo apt install tinyproxy
- sudo nano /etc/tinyproxy/tinyproxy.conf
- Allow 0.0.0.0/0
- XTinyproxy Yes
- DisableViaHeader Yes
- sudo systemctl status tinyproxy
- sudo systemctl restart tinyproxy
- tail -f /var/log/tinyproxy/tinyproxy.log
- ************************************************************************************
- apt install apache2-utils
- sudo apt install squid
- htpasswd -c /etc/squid/passwd username
- password
- nano /etc/squid/squid.conf
- http_access allow all
- auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
- auth_param basic credentialsttl 2 hours
- auth_param basic casesensitive off
- acl ncsa_users proxy_auth REQUIRED
- http_access allow ncsa_users
- sudo systemctl restart squid
- sudo systemctl status squid
Advertisement
Comments
-
- Хай, такой вопрос - поднял данные прокси на гугловских сервака, при чеке на анонимность палит "Принадлежность IP хостинг провайдеру", как это можно пофиксить?
Add Comment
Please, Sign In to add comment
Advertisement