Skip to content

pchpub/Easy-IPv6-Helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy-IPv6-Helper

Description

A helper to manage ipv6-pd.

Table of Contents

Installation

  1. Clone the Repository

    git clone https://github.com/pchpub/Easy-IPv6-Helper.git
  2. Compile the Code

    cd Easy-IPv6-Helper
    sh build.sh
    chmod +x ./easy-ipv6-helper
  3. Configure

    mv config.example.json config.json
    vim config.json
  4. Run it

     ./easy-ipv6-helper config.json

Usage

edit config.json with comments

{
 "subnet_prefix_length": 130, 
 // subnet prefix length
 // if you want to get a /64 subnet, set it to 64
 // if you want to set it to the pd prefix length + 2, set it to 130
 "upper_interface": "ppp0",
 // the interface that get the pd
 "next_interface": "br-lan",
 // the interface that you want to configure
 "features": {
     "radvd": true,
     // auto config radvd
     "dhcpv6": true,
     // auto config dhcpv6 (not support yet)
     "ndproxy": true,
     // auto config ndproxy(not support yet)
     "config_interface": true,
     // auto config interface
     "router": true
     // auto config router
 }
}

Contributing

Any contributions you make are greatly appreciated.

License

This project is licensed under the GNU General Public License v3.0 license. see the LICENSE file for details.

About

A helper to manage ipv6-pd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published