summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/nfs/enable/node.def
blob: 3d07321a1d2438b594f22f5c7397f25ca0b1a4d3 (plain)
1
2
3
4
5
6
7
8
9
help: enable NFS protocol connection tracking helper 

create:expression: "touch /tmp/vyatta-conntrack-sync"

end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
       echo "sudo iptables -D VYATTA_CT_HELPER -t raw -p tcp --dport 2049 -j CT --helper nfs"
     else
       echo "sudo iptables -I VYATTA_CT_HELPER -t raw -p tcp --dport 2049 -j CT --helper nfs"
     fi;