Skip to content

codemorra/ipv6-privacy-toggle-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

IPv6 Privacy Toggle CLI

A Python command-line tool for enabling or disabling IPv6 Privacy Extensions using nmcli on Linux systems.


Technical Requirements

  • Python: >= 3.10
  • NetworkManager (nmcli must be installed and accessible to the current user)

Installation

Clone the repository and run the script directly:

git clone https://github.com/codemorra/ipv6-privacy-toggle-cli.git
cd ipv6-privacy-toggle-cli

Make the script executable:

chmod +x privacy_toggle.py

Now you can run it directly:

./privacy_toggle.py

About

This script manages the IPv6 Privacy Extensions configuration by modifying the active NetworkManager connection through nmcli.

IPv6 Privacy Extensions create temporary, randomized IPv6 addresses to improve user privacy. While this helps protect against address tracking, it can cause issues with services that rely on a consistent IP address, such as:

  • Port forwarding
  • Remote access
  • Hosting local servers

This tool allows you to quickly switch between using a temporary (privacy) and a static IPv6 address depending on your current needs.


Usage

./privacy_toggle.py (-s | -e | -d)

Options

Short Long Description
-h --help Show help message
-s --status Show the current status
-e --enable Enable IPv6 Privacy Extensions
-d --disable Disable IPv6 Privacy Extensions

License

This project is licensed under the MIT License.
See LICENSE for the full license text.


Developer & Project Page

Developer: Codemorra
Project Page: https://github.com/codemorra/ipv6-privacy-toggle-cli
© 2026-present Codemorra – All rights reserved.

About

Python CLI tool to manage IPv6 Privacy Extensions via NetworkManager.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages