Warning, /frameworks/kio/src/kioworkers/ftp/ProxyTesting.md is written in an unsupported language. File is not indexed.

0001 # Proxy Testing
0002 
0003 At the time of writing the worker only supports socks proxies.
0004 To set up a proxy put it in the socks and/or ftp category of the proxy KCM.
0005 
0006 Dante is a fairly nice socks proxy server https://www.inet.no/dante
0007 
0008 ## Dante config
0009 
0010 To get a working dante config you'll at least need to configure internal and external addresses/interfaces:
0011 
0012 ```
0013 internal: br0 port = 1080
0014 external: 192.168.100.106
0015 ```
0016 
0017 For easy authentication against the unix user database the additional is necessary:
0018 
0019 ```
0020 socksmethod: username
0021 user.privileged: root
0022 user.unprivileged: nobody
0023 client pass {
0024     from: 0.0.0.0/0 to: 0.0.0.0/0
0025     log: connect error
0026 }
0027 socks pass {
0028     from: 0.0.0.0/0 to: 0.0.0.0/0
0029     protocol: tcp udp
0030     command: bind connect udpassociate
0031     log: error connect
0032     socksmethod: username
0033 }
0034 ```
0035 
0036 This should give you a working socks proxy with authentication requirement.
0037 
0038 ## Debugging
0039 
0040 Something like this should do for debugging:
0041 
0042 ```
0043 logoutput: stderr syslog /var/log/sockd.log
0044 debug: 1
0045 ```