Skip to content
Snippets Groups Projects
Commit 95f812e2 authored by poulpe's avatar poulpe
Browse files

[Update] Test ping + config wireguard less permissive

parent 0efddd15
No related branches found
No related tags found
No related merge requests found
...@@ -139,8 +139,10 @@ ...@@ -139,8 +139,10 @@
- name: Test connectivity from H1 to H2 - name: Test connectivity from H1 to H2
hosts: H1 hosts: H1
tasks: tasks:
- name: Ping form H1 to H2 - name: Ping form H1 to H2
ansible.builtin.shell: "ping 10.0.0.1 -c 1" ansible.netcommon.net_ping:
dest: 10.0.0.1
register: result register: result
- name: Print result - name: Print result
......
...@@ -6,4 +6,4 @@ PrivateKey = {{ keys["H1PRIV"] }} ...@@ -6,4 +6,4 @@ PrivateKey = {{ keys["H1PRIV"] }}
[Peer] [Peer]
PublicKey = {{ keys["H2PUB"] }} PublicKey = {{ keys["H2PUB"] }}
Endpoint = 3.0.0.2:51820 Endpoint = 3.0.0.2:51820
AllowedIPs = 0.0.0.0/0, ::/0 AllowedIPs = 10.0.0.0/24
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment