Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 704 Bytes

File metadata and controls

42 lines (29 loc) · 704 Bytes

Scripts using the Orange Livebox REST API

Installation

python3 -m venv env
. env/bin/activate
pip install sysbus
sysbus -config

It will store the parameters to access the API in ~/.sysbusrc.

add-pinhole - Add an IPv6 firewall entry

Add IPv6 firewall entry for a service for current host

./add-pinhole ssh
./add-pinhole https
./add-pinhole 443
.

Add IPv6 firewall entry for a different host

./add-pinhole ssh 2a01:cb15:be:9999::1

Add a name in Livebox web GUI

./add-pinhole ssh 2a01:cb15:be:9999::1 my-ssh

Specify a different protocol (tcp or udp)

./add-pinhole 12345 2a01:cb15:be:9999::1 my-port udp