uriid1

Disable ipv6

Sep 20th, 2021
813
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data