Set up tsocks in Debian-like systems.
None
-
tsocks_install
: [default:[]
]: Additional packages to install -
tsocks_local
: [default:[]
]: Local networks -
tsocks_path
: [default:[]
]: Paths declaration -
tsocks_path.{n}.directives
: [default:[]
]: Directives (e.g.['reaches 150.0.0.0/255.255.0.0']
) -
tsocks_server
: [default:127.0.0.1
]: Default server -
tsocks_server_type
: [default:5
]: SOCKS version used by the server -
tsocks_server_port
: [default:1080
]: The port on which the SOCKS server receives request
None
---
- hosts: all
roles:
- oefenweb.tsocks
vars:
tsocks_local:
- 192.168.0.0/255.255.255.0
- 10.0.0.0/255.0.0.0
tsocks_path:
- directives:
- reaches 150.0.0.0/255.255.0.0
- reaches 150.1.0.0:80/255.255.0.0
- server 10.1.7.25
- server_type 5
- default_user delius
- default_pass hello
tsocks_server: 192.168.0.1
MIT
Mischa ter Smitten
Are welcome!