more updates to limit localhost port access
This commit is contained in:
parent
f18654a730
commit
2b15ff66ec
|
@ -454,6 +454,8 @@ public class TorTransProxy implements TorServiceConstants {
|
||||||
script.append(ipTablesPath);
|
script.append(ipTablesPath);
|
||||||
script.append(" -t filter");
|
script.append(" -t filter");
|
||||||
script.append(" -A OUTPUT");
|
script.append(" -A OUTPUT");
|
||||||
|
script.append(" -m owner ! --uid-owner ");
|
||||||
|
script.append(torUid);
|
||||||
script.append(" -p tcp");
|
script.append(" -p tcp");
|
||||||
script.append(" -d 127.0.0.1");
|
script.append(" -d 127.0.0.1");
|
||||||
script.append(" --dport ");
|
script.append(" --dport ");
|
||||||
|
|
Loading…
Reference in New Issue