[tor-talk] Tor and iptables.

Roman Mamedov rm at romanrm.net
Mon Dec 12 07:27:30 UTC 2016


On Mon, 12 Dec 2016 00:12:54 -0700
Mirimir <mirimir at riseup.net> wrote:

> > Also: "-A OUTPUT -i lo -j ACCEPT" is neither a valid rule, nor is it 
> > necessary, since loopback traffic is already allowed at input and stateful 
> > inspection is enabled both ways.
> 
> Not valid? It works for me. And by default, I drop all input, output and
> forward.

$ sudo iptables -A OUTPUT -i lo -j ACCEPT
iptables v1.4.21: Can't use -i with OUTPUT

Try `iptables -h' or 'iptables --help' for more information.



Maybe you meant -o lo, but when people tell you it's not valid, they probably
do have a reason for telling you that.

-- 
With respect,
Roman


More information about the tor-talk mailing list