Skip to content

FreeBSD

Olivier Poitrey edited this page Jan 25, 2023 · 6 revisions

Using Installer

Install

  1. Run the following command: sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'
  2. Follow the instructions.

Upgrade

To upgrade to the last version, simply re-run the installer. If a new version is available, the upgrade action will added to the list of possible actions.

Troubleshooting

If the installation fail, please the installer in debug mode and contact us at team@nextdns.io with the transcript of the installation:

sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"'

Manual Install

  1. Install from port:
cd /usr/ports/dns/nextdns
make install
  1. Configure NextDNS service

Host mode:

nextdns install \
  -profile <your profile id> \
  -report-client-info \
  -auto-activate

Router mode:

nextdns install \
  -profile <your profile id> \
  -report-client-info \
  -setup-router