From ab8863e69c705076b52f4c0c68fe51cbf91eea69 Mon Sep 17 00:00:00 2001 From: Yusuf Yaman Date: Thu, 29 Aug 2024 17:18:23 +0300 Subject: [PATCH 1/2] Add installation instructions for FreeBSD --- _docs/QUICK_START.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_docs/QUICK_START.md b/_docs/QUICK_START.md index 87351f1..613a969 100644 --- a/_docs/QUICK_START.md +++ b/_docs/QUICK_START.md @@ -30,6 +30,22 @@ curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bas curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle ``` +## FreeBSD 😈 +You can build spoofdpi either from ports tree or install the package. +You may want to use spoofdpi rc.d service. +You can specify arguments for spoofdpi in `/etc/rc.conf`. +``` +# Build from ports +make -C /usr/ports/net/spoofdpi install clean +# Install the package +pkg install spoofdpi +# Enabling the service +service spoofdpi enable +service spoofdpi start +# Specifying arguments for spoofdpi +spoofdpi_args="-port 8181 -dns-addr 1.1.1.1 -enable-doh" +``` + ## Homebrew 🍻 ```bash brew install spoofdpi From fcbba1c5150812a9234eeeba3e65de0c4edc71c5 Mon Sep 17 00:00:00 2001 From: Yusuf Yaman Date: Thu, 29 Aug 2024 17:20:40 +0300 Subject: [PATCH 2/2] remove extra info because the port already has a message after installation that let users know these informations. --- _docs/QUICK_START.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/_docs/QUICK_START.md b/_docs/QUICK_START.md index 613a969..e5262da 100644 --- a/_docs/QUICK_START.md +++ b/_docs/QUICK_START.md @@ -31,19 +31,11 @@ curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bas ``` ## FreeBSD 😈 -You can build spoofdpi either from ports tree or install the package. -You may want to use spoofdpi rc.d service. -You can specify arguments for spoofdpi in `/etc/rc.conf`. ``` -# Build from ports +# Build from ports tree make -C /usr/ports/net/spoofdpi install clean # Install the package pkg install spoofdpi -# Enabling the service -service spoofdpi enable -service spoofdpi start -# Specifying arguments for spoofdpi -spoofdpi_args="-port 8181 -dns-addr 1.1.1.1 -enable-doh" ``` ## Homebrew 🍻