From dff70e1224b84bd2510b123b4ca4942da86141b7 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Mon, 19 Mar 2018 23:04:04 +0100 Subject: initial icvpn --- host_vars/icvpn_sample | 9 +++++++++ inventory.ini.sample | 3 +++ setup_fastd.yml | 24 +++++++++++++++++++++++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 host_vars/icvpn_sample diff --git a/host_vars/icvpn_sample b/host_vars/icvpn_sample new file mode 100644 index 0000000..3aaa6b4 --- /dev/null +++ b/host_vars/icvpn_sample @@ -0,0 +1,9 @@ +--- +ansible_host: 123.123.123.123 +wireguard_bb_name: '< node name >' +wireguard_bb_endpoint: '< peer public ipv6 >' +wireguard_bb_priv_key: '< priv key >' +wireguard_bb_pub_key: '< pub key >' +wireguard_bb_ipv4: '< wg bb ipv4 >' +wireguard_bb_ipv6: '< wg bb ipv6 (fe80::) >' +wireguard_bb_port: < port > diff --git a/inventory.ini.sample b/inventory.ini.sample index 7691c5f..e38ad6f 100644 --- a/inventory.ini.sample +++ b/inventory.ini.sample @@ -4,6 +4,9 @@ [fastd] fastd +[icvpn] +ff-icvpn + [mullvad_uplink] ff-uplink2 diff --git a/setup_fastd.yml b/setup_fastd.yml index 43f2a25..6ba05ce 100644 --- a/setup_fastd.yml +++ b/setup_fastd.yml @@ -26,6 +26,29 @@ - install_iperf3 - update_ssh_keys - install_admin_packages +- name: setup icvpn + hosts: icvpn + user: root + roles: + - configure_journald + - configure_sysctl + #- configure_iptables + #- configure_static_routes + #- install_ssmtp + - install_cronie + #- install_php + #- install_nginx + - install_ntp + - install_haveged + #- setup_batman + #- install_bind + - install_wireguard + #- install_wireguard_backbone + #- install_babeld + #- install_monitoring + - install_iperf3 + - update_ssh_keys + - install_admin_packages - name: basic uplink config hosts: uplink user: root @@ -35,7 +58,6 @@ - configure_iptables - configure_static_routes - install_cronie - #- install_php - install_nginx - install_ntp - install_haveged -- cgit v1.2.3-54-g00ecf