Parcourir la source

sudo and typo

tags/v1.0.0
Pascal Gloor il y a 6 ans
Parent
révision
bbafac3937
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      README.md

+ 3
- 3
README.md Voir le fichier

``` ```
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.

Chargement…
Annuler
Enregistrer