Przeglądaj źródła

sudo and typo

tags/v1.0.0
Pascal Gloor 5 lat temu
rodzic
commit
bbafac3937
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3
    3
      README.md

+ 3
- 3
README.md Wyświetl plik

@@ -17,9 +17,9 @@ In DHCPv6 DHCP Protect will account based on the client DUID.
```
git clone https://git.home.spale.com/dhcp_protect.git
cd dhcp_protect
apt-get install build-essential uthash-dev libnetfilter-queue-dev
sudo apt-get install build-essential uthash-dev libnetfilter-queue-dev
make all
make install
sudo make install
```
Note: the `make install` will automatically create, enable and start the systemd service and the `make uninstall` will stop and remove the systemd service.

@@ -34,7 +34,7 @@ The `--queue-bypass` will tell iptables to continue to forward packets if DHCP P
`iptables -A INPUT -p udp -m udp --dport 67 -j NFQUEUE --queue-num 67 --queue-bypass`

## Example IPv6
`iptables -A INPUT -p udp -m udp --dport 547 -j NFQUEUE --queue-num 67 --queue-bypass`
`ip6tables -A INPUT -p udp -m udp --dport 547 -j NFQUEUE --queue-num 67 --queue-bypass`

# Configuration
The configuration file may be tuned, but the defaults should be fine.

Ładowanie…
Anuluj
Zapisz