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!
- Python 3.x
- Scapy
- Google Fire
conda create -n andpp python
conda activate andpp
pip install fire scapy
sudo aptitude install python3-fire python3-scapy
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:
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!