This commit is contained in:
2023-09-25 12:52:07 +02:00
parent 35d8baa8eb
commit bf3f7157ee

View File

@@ -135,18 +135,16 @@ chisel_config_name: chisel-server
chisel_server_host: 163.172.84.28
chisel_server_port: 8080
chisel_proxychains_conf:
# chisel enable socks5
- path: "/etc/chisel/{{ chisel_config_name }}"
# chisel enable socks5, reverse and basic auth
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
regexp: "^SOCK5=--socks5"
state: present
line: "SOCK5=--socks5"
# chisel enable reverse
- path: "/etc/chisel/{{ chisel_config_name }}"
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
regexp: "^PID=--reverse"
state: present
line: "PID=--reverse"
# chisel set up basic auth
- path: "/etc/chisel/{{ chisel_config_name }}"
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
regexp: "^AUTH=--auth {{ chisel_basic_auth }}"
state: present
line: "AUTH=--auth {{ chisel_basic_auth }}"