Editing Setting up an iptables firewall
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 234: | Line 234: | ||
If you want to use a firewall inside a container, please load these modules BEFORE starting the container: | If you want to use a firewall inside a container, please load these modules BEFORE starting the container: | ||
− | < | + | <code> |
modprobe xt_tcpudp | modprobe xt_tcpudp | ||
modprobe ip_conntrack | modprobe ip_conntrack | ||
− | </ | + | </code> |
If you do not, you will get an error like this: "iptables: No chain/target/match by that name" | If you do not, you will get an error like this: "iptables: No chain/target/match by that name" |