Skip to content

congzhangzh/andpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Another NDP Proxy(andpp)

Turn a none routeable ipv6 subnet to routeable

This will be a replacement for https://github.com/google/ndprbrd and https://github.com/DanielAdolfsson/ndppd

Hope you guys can give it a try!

Requirements

  1. Python 3.x
  2. Scapy
  3. Google Fire

For conda

conda create -n andpp python
conda activate andpp
pip install fire scapy

For Debian

sudo aptitude install python3-fire python3-scapy

Usage

Run the script from the command line, providing necessary parameters:

sudo python3 andpp.py outer_iface outer_ether_addr router_ether_addr proxy_net_prefix

# you can add to your cron table by crontab -e like:
# @reboot sleep 120; sudo python3 ~/projects/andpp/andpp.py eth0 00:11:31:f1:01:71 44:22:22:33:3a:00 2a03:dddd:a11f:

Parameters

outer_iface:

The outer interface to use (e.g., ens11 or eth0). get from:
    ip link

outer_ether_addr:

The Ethernet address for the outer interface (e.g., xx:xx:xx:xx:xx:xx).
    ip link

router_ether_addr:

The Ethernet address for the router (e.g., xx:xx:xx:xx:xx:xx).
    sudo ip -6 nei|grep router

proxy_net_prefix:

The proxy network prefix (e.g., xxxx:xxx:xxx:xxx:). 

This should get from you ISP!

About

Another NDP Proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages