-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* plpsql-improve: fix some issues with the playbook Reset iptables rules back to how they were Remote empty space invert order of commands Remove etckeeper commands allow openvpn connections Get rid of another ugly hack for user_group_id Get rid of ugly hack for getting user id Remove unneeded mia-ps line Replace variables Use default interpreter Improve OpenVPN setup Flesh out basic openvpn based proxy use role based tag to indicate active or standby hosts Use native user module to get user and group IDs
- Loading branch information
Showing
12 changed files
with
113 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
dependencies: | ||
- libhandlers | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# OONI DB VPN - managed by ansible | ||
# /etc/openvpn/oonidbvpn.conf | ||
# HKG -> mia-ps-test.ooni.nu -> AMS | ||
|
||
dev tun | ||
remote {{ lookup('dig', 'mia-ps-test.ooni.nu/A') }} | ||
# fallback to direct connection HKG -> AMS | ||
remote {{ lookup('dig', 'amsmetadb.ooni.nu/A') }} | ||
ifconfig 10.1.0.2 10.1.0.1 | ||
secret oonipgvpn.key | ||
cipher AES-256-CBC | ||
comp-lzo | ||
verb 3 | ||
keepalive 10 60 | ||
ping-timer-rem | ||
persist-tun | ||
persist-key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# OONI DB VPN - managed by ansible | ||
# /etc/openvpn/oonidbvpn.conf | ||
# HKG -> mia-ps-test.ooni.nu -> AMS | ||
# Configuration for AMS db | ||
dev tun | ||
ifconfig 10.1.0.1 10.1.0.2 | ||
secret oonipgvpn.key | ||
comp-lzo | ||
cipher AES-256-CBC | ||
keepalive 10 60 | ||
ping-timer-rem | ||
persist-tun | ||
persist-key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters