This repository was archived by the owner on Jun 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22upstream_dns_servers :
3- - 8.8.8.8
4- - 8.8.4.4
3+ - 1.1.1.1
4+ - 1.0.0.1
55
66streisand_client_test : no
77
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ streisand_common_packages:
66 - apt-transport-https
77 # Used to perform a system upgrade
88 - aptitude
9- # Used to compile Libreswan and OpenConnect Server (ocserv)
10- # - build-essential
119 # Used to perform API requests, including the version check for
1210 # the Tor Browser Bundle
1311 - curl
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ bogus-priv
1818# uncomment this.
1919no-resolv
2020
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 5151- name : " Start a new dirmngr with our config changes"
5252 command : " gpgconf --launch dirmngr"
5353
54- - name : " Start the gpg-agent"
55- command : " gpg-agent --daemon --write-env-file {{ root_gpg_dir }}"
56-
5754- name : " Wait for the GPG agent and dirmngr control sockets"
5855 wait_for :
5956 path : " {{ root_gpg_dir }}/{{ item }}"
Original file line number Diff line number Diff line change 22dependencies :
33 # OpenVPN needs to be added to the firewall
44 - { role: ufw }
5- # - { role: dnsmasq }
5+ - { role: dnsmasq }
66 - { role: ip-forwarding }
Original file line number Diff line number Diff line change 11---
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
88
99# - name: Add the official OpenVPN repository
1010# apt_repository:
Original file line number Diff line number Diff line change 22# Add the apt key and install OpenVPN
33- import_tasks : install.yml
44
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
1010
1111- include_role :
1212 name : certificates
Original file line number Diff line number Diff line change 4141 name : stunnel4.service
4242 state : stopped
4343
44- - name : Remove the stunnel init.d script
45- file :
46- state : absent
47- path : " /etc/init.d/stunnel4"
48-
4944- name : Copy the stunnel system unit file
5045 template :
5146 src : stunnel.service.j2
Original file line number Diff line number Diff line change 11cert = {{ stunnel_cert }}
22key = {{ stunnel_key }}
33debug = 4
4- options = NO_SSLv2
54options = NO_SSLv3
65options = NO_TLSv1
76options = NO_TLSv1.1
Original file line number Diff line number Diff line change 33 apt :
44 name : tinyproxy
55
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
1313
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
2121
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
2926
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
3742
3843- name : Enable and restart the tinyproxy service
3944 systemd :
You can’t perform that action at this time.
0 commit comments