Add chisel

This commit is contained in:
2023-09-25 00:48:11 +02:00
parent 03f3ed3710
commit 7563ddb880
2 changed files with 19 additions and 5 deletions

View File

@@ -29,9 +29,12 @@
tasks:
- name: Set up config file better ...
# Need to install proxychains
- name: Change settings in chisel and proxychains conf files
ansible.builtin.lineinfile:
path: /etc/chisel/chisel-server.conf
regexp: '^# SOCK5=--sock5'
line: "SOCK5=--sock5"
path: "{{ item.path }}"
regexp: "{{ item.regexp }}"
line: "{{ item.line }}"
loop: "{{ chisel_proxychains_conf }}"
when: "{{ chisel_server|default(false) }} is true"
tags: chisel

View File

@@ -118,7 +118,18 @@ alerts_ssl: scaleway
# CHISEL #
##########
chisel_server: true
chisel_service_name: chisel-server
chisel_config_name: chisel-server
chisel_server_host: 163.172.84.28
chisel_server_port: 8080
chisel_server_port: 8080
chisel_proxychains_conf:
- path: "/etc/chisel/{{ chisel_config_name }}"
regexp: "^# SOCK5"
line: "SOCK5=--sock5"
- path: "/etc/proxychains.conf"
regexp: "^socks4"
line: "#socks4"
- path: "/etc/proxychains.conf"
regexp: "^# meanwile"
line: "socks5 {{ chisel_server_host }} 1080"