How to setup a socks5 proxy server using Dante

debain可用参考链接:

https://nfalcone.net/blog/danted-socks-proxy-server/

> 其他:

socks5软件包安装:

# apt-get update && apt-get upgrade
# apt-get install dante-server
# service danted restart
# service danted status
# danted -v
danted: dante v1.1.19

socks5源码安装:

# cd /usr/src
# wget http://www.inet.no/dante/files/dante-1.4.2.tar.gz
# tar -zxf dante-1.4.2.tar.gz
# cd dante-1.4.2/
# apt-get install gcc make
#./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-client --without-libwrap --without-bsdauth --without-gssapi --without-krb5 --without-upnp --without-pam
# make && make install
# /usr/sbin/sockd -v
Dante v1.4.2.  Copyright (c) 1997 - 2014 Inferno Nettverk A/S, Norway

Configuring Dante-server service script

# vim /etc/init.d/sockd

参考链接:

https://www.proxyrack.com/how-to-setup-a-socks5-proxy-server-using-dante/

debain可能遇到的问题:

perl: warning: Falling back to the standard locale (“C”)

root@host:~#locale-gen en_GB.UTF-8
root@host:~#localectl set-locale LANG=en_GB.UTF-8,LC_ALL=en_GB.UTF-8

参考:https://konradpodgorski.com/blog/2014/06/23/fixing-locale-problem-debian/

debain VPs 安装失败:仅作记录

文章目录
  1. 1. socks5软件包安装:
  2. 2. socks5源码安装:
  3. 3. Configuring Dante-server service script
  4. 4. 参考链接:
  5. 5. debain可能遇到的问题:
|