Home » guide » how to secure a .onion server

how to secure a .onion server

Change OS Host DNS to run through TOR

  1. > VirtualAddrNetworkIPv4 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9040 TransListenAddress 127.0.0.1 DNSPort 53
  2. Change Name Server
    > vi /etc/resolv.conf
    > nameserver 127.0.0.1
    > sudo service network restart

Secure NGINX

  1. https://geekflare.com/install-modsecurity-on-nginx/
  2. https://www.rosehosting.com/blog/how-to-secure-your-lemp-stack/

Using Knockd for remote access

  1. https://www.techrepublic.com/article/how-to-obscure-open-ports-with-knockd/