chisel
This commit is contained in:
@@ -139,18 +139,22 @@ chisel_proxychains_conf:
|
||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
||||
regexp: "^SOCK5=--socks5"
|
||||
state: present
|
||||
line: "SOCK5=--socks5"
|
||||
# chisel enable reverse
|
||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
||||
regexp: "^PID=--reverse"
|
||||
state: present
|
||||
line: "PID=--reverse"
|
||||
# chisel set up basic auth
|
||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
||||
regexp: "^AUTH=--auth {{ chisel_basic_auth }}"
|
||||
state: present
|
||||
line: "AUTH=--auth {{ chisel_basic_auth }}"
|
||||
# proxychains replace socks4 to socks5
|
||||
- path: "/etc/proxychains.conf"
|
||||
regexp: "^socks4 127.0.0.1 9050"
|
||||
state: "absent"
|
||||
- path: "/etc/proxychains.conf"
|
||||
regexp: "^socks5 {{ chisel_server_host }} 1080"
|
||||
state: present
|
||||
state: present
|
||||
line: "socks5 {{ chisel_server_host }} 1080"
|
||||
Reference in New Issue
Block a user