forked from FF-RGB/ansible
exit-ipv4: make sure nf_conntrack is loaded
This commit is contained in:
parent
fc3958bfb3
commit
4095975934
@ -6,6 +6,9 @@
|
|||||||
- name: Enable IPv4 routing
|
- name: Enable IPv4 routing
|
||||||
sysctl: name=net.ipv4.ip_forward value=1 state=present
|
sysctl: name=net.ipv4.ip_forward value=1 state=present
|
||||||
|
|
||||||
|
- name: Load nf_conntrack module
|
||||||
|
modprobe: name=nf_conntrack
|
||||||
|
|
||||||
- name: Increas conntrack limit
|
- name: Increas conntrack limit
|
||||||
sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present
|
sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user