Advertisement
uriid1

Disable ipv6

Sep 20th, 2021
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #!/usr/bin/bash
  2.  
  3. sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 &&
  4. sysctl -w net.ipv6.conf.default.disable_ipv6=1 &&
  5. sysctl -w net.ipv6.conf.lo.disable_ipv6=1 &&
  6. iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement