this post was submitted on 07 Nov 2024
27 points (93.5% liked)

Shitty sysadmin

314 readers
14 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 4 months 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
[–] mlfh 7 points 4 months 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.