We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230dd07 commit eab47dfCopy full SHA for eab47df
vpn-client/playbooks/deploy-vpn-client.yml
@@ -103,6 +103,13 @@
103
104
- name: Route the traffic
105
command: ip route add 10.100.49.2/32 via 10.100.49.10
106
+
107
+ - name: Ensure IP forwarding is enabled permanently
108
+ lineinfile:
109
+ path: /etc/sysctl.conf
110
+ regexp: '^#?net.ipv4.ip_forward'
111
+ line: 'net.ipv4.ip_forward=1'
112
+ state: present
113
114
- name: Set DNS
115
command: resolvectl dns eth0 8.8.8.8 8.8.8.8
0 commit comments