Quote:
Originally Posted by jayjwa
Why not set it with SocksPolicy in torrc? If you are going to use Iptables, consider the default POLICY. If you default allow, that does nothing and you'll need a DROP (or log/drop) right after it. You don't need the dst.
|
Hello,
Thank you so much for your reply.
I did:
Code:
SOCKSPort 172.20.1.100:9050
I know I can do this with
SocksPolicy, but I want to do it with iptables. Do you mean all following policies should be DROP?
Code:
*filter
:INPUT ACCEPT [862:113997]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [76190:79547849]
If I change INPUT to DROP, can clients connect to the server?
Why is
dst not needed?