Documentation update

This commit is contained in:
Kioubit 2021-12-27 12:09:59 -05:00
parent 4ddaa98351
commit ff27eb5141
3 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.conf -P /etc/p
## Manual Usage ## Manual Usage
```` ````
pndpd config <path to file> pndpd config <path to file>
pndpd respond <interface> <optional whitelist of CIDRs separated by a semicolon> pndpd responder <interface> <optional whitelist of CIDRs separated by a semicolon>
pndpd proxy <interface1> <interface2> <optional whitelist of CIDRs separated by a semicolon applied to interface2> pndpd proxy <interface1> <interface2> <optional whitelist of CIDRs separated by a semicolon applied to interface2>
```` ````
More options and additional documentation in the example config file (``pndpd.conf ``). More options and additional documentation in the example config file (``pndpd.conf ``).

View File

@ -5,6 +5,7 @@
debug off debug off
// Responder example // Responder example
// Create an NDP responder that answers on interface "eth0"
responder { responder {
iface eth0 iface eth0
filter fd01::/64 filter fd01::/64
@ -12,6 +13,7 @@ responder {
} }
// Proxy example // Proxy example
// Create an NDP proxy that for proxying NDP between iface1 ("eth0") and iface2 ("eth1")
// The whitelist is applied on iface2 // The whitelist is applied on iface2
proxy { proxy {
iface1 eth0 iface1 eth0

View File

@ -7,7 +7,7 @@ After=network.target network-online.target
Type=simple Type=simple
Restart=on-failure Restart=on-failure
RestartSec=5s RestartSec=5s
ExecStart=/usr/bin/pndpd config /etc/pndpd/pndpd.conf ExecStart=/usr/local/bin/pndpd config /etc/pndpd/pndpd.conf
DynamicUser=yes DynamicUser=yes
AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN