Changes

Jump to navigation Jump to search
913 bytes added ,  15:15, 12 November 2018
no edit summary
Line 1: Line 1: −
Open ssh SOCKS5 Proxy
+
== Danted SOCKS5 Proxy Server ==
 +
/etc/danted.conf
 +
<nowiki>#logoutput: syslog
 +
#logoutput: stderr
 +
logoutput: /var/log/danted.log
 +
internal: ens33 port = 1080
 +
#external: 192.168.1.158
 +
external: 10.0.254.66
 +
# user.privileged: proxy
 +
user.notprivileged: nobody
 +
# user.libwrap: nobody
 +
method: username none
 +
client pass {
 +
        from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
 +
        log: connect disconnect error
 +
}
 +
 
 +
pass {
 +
    from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
 +
    protocol: tcp udp
 +
}
 +
 
 +
#route {                                                                       
 +
#        from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.0.2.1 port = 1080           
 +
#        proxyprotocol: socks_v4 socks_v5
 +
#        method: none
 +
#}
 +
 
 +
#route {                                                                       
 +
#        from: 0.0.0.0/0 to: 8.8.8.8/32 port = domain via: direct             
 +
#} 
 +
</nowiki>
 +
== Open ssh SOCKS5 Proxy Server ==
 
  ssh -ND 1111 ubuntu@ec2-52-57-220-220.eu-central-1.compute.amazonaws.com -i ~/.ssh/DNC-FKY.pem
 
  ssh -ND 1111 ubuntu@ec2-52-57-220-220.eu-central-1.compute.amazonaws.com -i ~/.ssh/DNC-FKY.pem
 
  ssh -D 10.28.0.81:1111 rafa@10.28.0.81
 
  ssh -D 10.28.0.81:1111 rafa@10.28.0.81
 
+
== Client ==
 
Configure proxychains
 
Configure proxychains
 
  <nowiki># proxychains.conf  VER 3.1
 
  <nowiki># proxychains.conf  VER 3.1

Navigation menu