Added ipv6 disable-enable functions
This commit is contained in:
parent
0c3ff00343
commit
991a0feb2e
@ -249,6 +249,18 @@ extract() {
|
||||
esac
|
||||
}
|
||||
|
||||
# Disable ipv6
|
||||
function ipv6-disable() {
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||
}
|
||||
|
||||
# Enable ipv6
|
||||
function ipv6-enable() {
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
|
||||
}
|
||||
|
||||
# Start CyberChef
|
||||
alias cyberchef="open /opt/cyberchef/cyberchef"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user