-
-
Save rooty/9d70adfb452041373604c5c97a608767 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| MODULES=( | |
| "iptable_nat" | |
| "nf_conntrack" | |
| "nf_conntrack_ipv4" | |
| "nf_defrag_ipv4" | |
| "nf_nat" | |
| "nf_nat_ipv4" | |
| "xt_nat" | |
| "nf_conntrack_netlink" | |
| ) | |
| for i in "${MODULES[@]}" ; do | |
| for j in "${MODULES[@]}" ; do | |
| modprobe -r "$j" | |
| done | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment