Browse Source

sudo and typo

tags/v1.0.0
Pascal Gloor 5 years ago
parent
commit
bbafac3937
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      README.md

+ 3
- 3
README.md View File

``` ```
git clone https://git.home.spale.com/dhcp_protect.git git clone https://git.home.spale.com/dhcp_protect.git
cd dhcp_protect 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 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. Note: the `make install` will automatically create, enable and start the systemd service and the `make uninstall` will stop and remove the systemd service.


`iptables -A INPUT -p udp -m udp --dport 67 -j NFQUEUE --queue-num 67 --queue-bypass` `iptables -A INPUT -p udp -m udp --dport 67 -j NFQUEUE --queue-num 67 --queue-bypass`


## Example IPv6 ## 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 # Configuration
The configuration file may be tuned, but the defaults should be fine. The configuration file may be tuned, but the defaults should be fine.

Loading…
Cancel
Save