I try to create a middlebox to redirect tor trafic but i have a problem. Tor doesn't create dns port 5353 as i configured in /etc/tor/torrc

AutomapHostsOnResolve 1
TransPort 9040 IsolateClientAddr IsolateClientProtocol IsolateDestAddr IsolateDestPort
DNSPort 5353

See my netstat :

root@debian:~/Documents# netstat -plnt
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name    
tcp        0      0*               LISTEN      668/tor             
tcp        0      0*               LISTEN      668/tor             
tcp        0      0    *               LISTEN      580/sshd            
tcp6       0      0 :::22                   :::*                    LISTEN      580/sshd            

ty for your help


Yes, it does.

Your netstat command is looking for listening TCP ports explicitly: netstat -plnt

DNS will be UDP, not TCP.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.