Documentation update
This commit is contained in:
parent
4ddaa98351
commit
ff27eb5141
@ -27,7 +27,7 @@ wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.conf -P /etc/p
|
||||
## Manual Usage
|
||||
````
|
||||
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>
|
||||
````
|
||||
More options and additional documentation in the example config file (``pndpd.conf ``).
|
||||
|
@ -5,6 +5,7 @@
|
||||
debug off
|
||||
|
||||
// Responder example
|
||||
// Create an NDP responder that answers on interface "eth0"
|
||||
responder {
|
||||
iface eth0
|
||||
filter fd01::/64
|
||||
@ -12,6 +13,7 @@ responder {
|
||||
}
|
||||
|
||||
// Proxy example
|
||||
// Create an NDP proxy that for proxying NDP between iface1 ("eth0") and iface2 ("eth1")
|
||||
// The whitelist is applied on iface2
|
||||
proxy {
|
||||
iface1 eth0
|
||||
|
@ -7,7 +7,7 @@ After=network.target network-online.target
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStart=/usr/bin/pndpd config /etc/pndpd/pndpd.conf
|
||||
ExecStart=/usr/local/bin/pndpd config /etc/pndpd/pndpd.conf
|
||||
|
||||
DynamicUser=yes
|
||||
AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user