Does the Oninon servics need the loopback interface ?

Hi everyone,

I was reading this article → Hidden Onion Service using Tor, nftables and NGINX | by Marcus Cvjeticanin | Dev Genius

and I can read

Then we add a rule to accept loopback interface traffic.
sudo nft add rule inet filter tor_chain iif lo counter accept

So does Onion Services require this ?

is there a way in NFtables to specify that only Tor daemon (Onion services) can use the loopback ?

1 Like