SOCKS Proxy

From KlavoWiki
Revision as of 00:03, 1 May 2019 by David (Sọ̀rọ̀ | contribs) (Created page with "Download <pre> cd /usr/src wget http://www.inet.no/dante/files/dante-1.4.2.tar.gz </pre> Extract <pre> tar xvf dante-1.4.2.tar.gz rm -f dante-1.4.2.tar.gz cd dante-1.4.2 </pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Download

cd /usr/src
wget http://www.inet.no/dante/files/dante-1.4.2.tar.gz

Extract

tar xvf dante-1.4.2.tar.gz
rm -f dante-1.4.2.tar.gz
cd dante-1.4.2

Build

./configure
make
make install

Configuration

vi /etc/danted.conf
logoutput: /var/log/socks.log

internal: eth0 port = 1080
external: 10.9.10.6

socksmethod: username none
clientmethod: none

user.privileged: proxy
user.notprivileged: nobody
user.libwrap: nobody

client pass {
        from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
        log: connect disconnect error
}

socks pass {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        protocol: tcp udp
        log: connect disconnect error
}