]>
git.pld-linux.org Git - packages/kernel.git/commit
- replaced by userspace tools
1. Register user-space helper:
nfct helper add rpc inet tcp
nfct helper add rpc inet udp
2. Add iptables rule using the CT target:
iptables -I OUTPUT -t raw -p tcp --dport 111 -j CT --helper rpc
iptables -I OUTPUT -t raw -p udp --dport 111 -j CT --helper rpc
3. Add configuration to conntrackd.conf:
Helper {
Type rpc inet udp {
QueueNum 1
QueueLen 10240
Policy rpc {
ExpectMax 1
ExpectTimeout 300
}
}
Type rpc inet tcp {
QueueNum 2
QueueLen 10240
Policy rpc {
ExpectMax 1
ExpectTimeout 300
}
}
}
This page took 0.059576 seconds and 4 git commands to generate.