this post was submitted on 07 Nov 2024
26 points (93.3% liked)

Shitty admin

187 readers
38 users here now

Welcome to Shitty Admin!

This community is for shit posting about terrible things computer admin do. Cross posts are welcome and so is satire.

Please no politics or harmful content

founded 2 weeks ago
MODERATORS
 

I need your guys help. I am looking to remove nat from out environment since it is November after all.

Can you make me a three step plan?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 2 weeks ago
  1. sysctl -w net.ipv4.conf.all.disable_ipv4=1
  2. sysctl -w net.ipv6.conf.all.disable_ipv6=0
  3. for link in $(ls /sys/class/net); do ip -6 addr add $(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2)/128 dev $link; done

Everything should work perfectly forever right out of the box with the above setup.