algo/roles/vpn/handlers/main.yml

21 lines
905 B
YAML
Raw Normal View History

2016-08-11 08:54:34 +00:00
- name: restart strongswan
service: name=strongswan state=restarted
- name: restart apparmor
service: name=apparmor state=restarted
2016-08-16 03:32:44 +00:00
2016-08-11 08:54:34 +00:00
- name: save iptables
2016-08-16 03:32:44 +00:00
command: service netfilter-persistent save
2016-08-11 08:54:34 +00:00
- name: congrats
debug:
msg:
- "#----------------------------------------------------------------------#"
- "# Congratulations! #"
- "# Your Algo server is running. #"
- "# Config files and certificates are in the ./configs/ directory. #"
- "# Go to https://www.dnsleaktest.com/ after connecting #"
- "# and ensure that all your traffic passes through the VPN. #"
- "# Local DNS resolver and Proxy IP address: 172.16.0.1 #"
- "#----------------------------------------------------------------------#"