This repository was archived by the owner on Jun 4, 2021. It is now read-only.
File tree 15 files changed +261
-80
lines changed
15 files changed +261
-80
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
upstream_dns_servers :
3
- - 8.8.8.8
4
- - 8.8.4.4
3
+ - 1.1.1.1
4
+ - 1.0.0.1
5
5
6
6
streisand_client_test : no
7
7
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ streisand_common_packages:
6
6
- apt-transport-https
7
7
# Used to perform a system upgrade
8
8
- aptitude
9
- # Used to compile Libreswan and OpenConnect Server (ocserv)
10
- # - build-essential
11
9
# Used to perform API requests, including the version check for
12
10
# the Tor Browser Bundle
13
11
- curl
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ bogus-priv
18
18
# uncomment this.
19
19
no-resolv
20
20
21
- {% for item in upstream_dns_servers %}
22
- server={{ item }}
23
- {% endfor %}
21
+ bind-interfaces
22
+
23
+ server=127.0.0.53
24
+
25
+ #{% for item in upstream_dns_servers %}
26
+ #server={{ item }}
27
+ #{% endfor %}
Original file line number Diff line number Diff line change 51
51
- name : " Start a new dirmngr with our config changes"
52
52
command : " gpgconf --launch dirmngr"
53
53
54
- - name : " Start the gpg-agent"
55
- command : " gpg-agent --daemon --write-env-file {{ root_gpg_dir }}"
56
-
57
54
- name : " Wait for the GPG agent and dirmngr control sockets"
58
55
wait_for :
59
56
path : " {{ root_gpg_dir }}/{{ item }}"
Original file line number Diff line number Diff line change 2
2
dependencies :
3
3
# OpenVPN needs to be added to the firewall
4
4
- { role: ufw }
5
- # - { role: dnsmasq }
5
+ - { role: dnsmasq }
6
6
- { role: ip-forwarding }
Original file line number Diff line number Diff line change 1
1
---
2
- # - name: "Add the official OpenVPN APT key; hiding 25 lines of log..."
3
- # apt_key:
4
- # id: E158C569
5
- # data: "{{ item }}"
6
- # with_file: openvpn_signing.key
7
- # no_log: True
2
+ - name : " Add the official OpenVPN APT key; hiding 25 lines of log..."
3
+ apt_key :
4
+ id : E158C569
5
+ data : " {{ item }}"
6
+ with_file : openvpn_signing.key
7
+ no_log : True
8
8
9
9
# - name: Add the official OpenVPN repository
10
10
# apt_repository:
Original file line number Diff line number Diff line change 2
2
# Add the apt key and install OpenVPN
3
3
- import_tasks : install.yml
4
4
5
- # - name: "Configure DNSMasq to listen on {{ dnsmasq_openvpn_tcp_ip }}:53 and {{ dnsmasq_openvpn_udp_ip }}:53"
6
- # template:
7
- # src: openvpn_dnsmasq.conf.j2
8
- # dest: /etc/dnsmasq.d/openvpn.conf
9
- # notify: Restart dnsmasq
5
+ - name : " Configure DNSMasq to listen on {{ dnsmasq_openvpn_tcp_ip }}:53 and {{ dnsmasq_openvpn_udp_ip }}:53"
6
+ template :
7
+ src : openvpn_dnsmasq.conf.j2
8
+ dest : /etc/dnsmasq.d/openvpn.conf
9
+ notify : Restart dnsmasq
10
10
11
11
- include_role :
12
12
name : certificates
Original file line number Diff line number Diff line change 41
41
name : stunnel4.service
42
42
state : stopped
43
43
44
- - name : Remove the stunnel init.d script
45
- file :
46
- state : absent
47
- path : " /etc/init.d/stunnel4"
48
-
49
44
- name : Copy the stunnel system unit file
50
45
template :
51
46
src : stunnel.service.j2
Original file line number Diff line number Diff line change 1
1
cert = {{ stunnel_cert }}
2
2
key = {{ stunnel_key }}
3
3
debug = 4
4
- options = NO_SSLv2
5
4
options = NO_SSLv3
6
5
options = NO_TLSv1
7
6
options = NO_TLSv1.1
Original file line number Diff line number Diff line change 3
3
apt :
4
4
name : tinyproxy
5
5
6
- - name : Create the tinyproxy config directory
7
- file :
8
- path : " {{ tinyproxy_conf_dir }}"
9
- state : directory
10
- owner : nobody
11
- group : nogroup
12
- mode : 0755
6
+ # - name: Create the tinyproxy config directory
7
+ # file:
8
+ # path: "{{ tinyproxy_conf_dir }}"
9
+ # state: directory
10
+ # owner: nobody
11
+ # group: nogroup
12
+ # mode: 0755
13
13
14
- - name : Generate the tinyproxy configuration file
15
- template :
16
- src : tinyproxy.conf.j2
17
- dest : " {{ tinyproxy_conf_file }}"
18
- owner : root
19
- group : root
20
- mode : 0644
14
+ # - name: Generate the tinyproxy configuration file
15
+ # template:
16
+ # src: tinyproxy.conf.j2
17
+ # dest: "{{ tinyproxy_conf_file }}"
18
+ # owner: root
19
+ # group: root
20
+ # mode: 0644
21
21
22
- - name : Generate the tinyproxy system unit file
23
- template :
24
- src : tinyproxy.service.j2
25
- dest : /etc/systemd/system/tinyproxy.service
26
- owner : root
27
- group : root
28
- mode : 0644
22
+ # - name: Create the tinyproxy systemd drop-in configuration directory
23
+ # file:
24
+ # path: "{{ tinyproxy_systemd_service_path }}"
25
+ # state: directory
29
26
30
- - name : Generate the systemd tmpfile for tinyproxy
31
- template :
32
- src : tinyproxytmp.conf.j2
33
- dest : /etc/tmpfiles.d/tinyproxy.conf
34
- owner : root
35
- group : root
36
- mode : 0644
27
+ # - name: Generate the tinyproxy systemd drop-in service file
28
+ # template:
29
+ # src: tinyproxy.service.j2
30
+ # dest: "{{ tinyproxy_systemd_service_path }}/10-restart-failure.service"
31
+ # owner: root
32
+ # group: root
33
+ # mode: 0644
34
+
35
+ # - name: Generate the systemd tmpfile for tinyproxy
36
+ # template:
37
+ # src: tinyproxytmp.conf.j2
38
+ # dest: /etc/tmpfiles.d/tinyproxy.conf
39
+ # owner: root
40
+ # group: root
41
+ # mode: 0644
37
42
38
43
- name : Enable and restart the tinyproxy service
39
44
systemd :
You can’t perform that action at this time.
0 commit comments