socksify doesn't work unless I prefix the command to be used with
strace. Tested with openssl and ssh.
The following doesn't work:
$ socksify ssh host
$ socksify openssl s_client -tls1 -connect host:port
The following works:
$ socksify strace -o /dev/null ssh host
$ socksify strace -o /dev/null openssl s_client -tls1 -connect host:port
--- Begin /etc/dante.conf (modified conffile)
# neither directly nor proxied.
route {
from: 0.0.0.0/0 to: 127.0.0.0/8 via: direct
command: connect udpassociate # everything but bind, bind confuses us.
}
route {
from: 0.0.0.0/0 to: 131.184.0.0/16 via: direct
}
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 131.184.96.33 port = 1080
protocol: tcp udp # server supports tcp and udp.
proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
method: none #username # we are willing to authenticate via
# method "none", not "username".
}
route {
from: 0.0.0.0/0 to: . via: 131.184.96.33 port = 1080
protocol: tcp udp # server supports tcp and udp.
proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
method: none #username # we are willing to authenticate via
# method "none", not "username".
}
--- End /etc/dante.conf