diff --git a/README.md b/README.md index d2098d1..994a26e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.conf -P /etc/p ## Manual Usage ```` pndpd config -pndpd respond +pndpd responder pndpd proxy ```` More options and additional documentation in the example config file (``pndpd.conf ``). diff --git a/pndpd.conf b/pndpd.conf index 4d49507..9eb03b2 100644 --- a/pndpd.conf +++ b/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 diff --git a/pndpd.service b/pndpd.service index f4e1964..8846bd3 100644 --- a/pndpd.service +++ b/pndpd.service @@ -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