diff --git a/vpn/base/tasks/main.yml b/vpn/base/tasks/main.yml index 84c6f19..56ef25c 100644 --- a/vpn/base/tasks/main.yml +++ b/vpn/base/tasks/main.yml @@ -6,6 +6,13 @@ sysctl_file: "/etc/sysctl.d/local.conf" reload: true +- name: "enable ipv6 forwarding" + ansible.posix.sysctl: + name: "net.ipv6.conf.all.forwarding" + value: "1" + sysctl_file: "/etc/sysctl.d/local.conf" + reload: true + - name: "script for creating virtual interfaces" ansible.builtin.copy: src: "./ip-link-add.sh"