[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Isolating Proxy and iptables.



Maybe you find this helpful....

https://elrippoisland.net/public/how_to/anonymity.html

Kind regards,
elrippo

Am Samstag, 17. Mai 2014, 18:05:38 schrieb Clare â:
> Thanks! It's incredibly helpful to see how more experienced users have Tor
> set up. Sorry again for the poor formatting in my post, no idea what's up
> with that. 
 
> From: r.a@xxxxxxxxxx
> To: tor-talk@xxxxxxxxxxxxxxxxxxxx
> Date: Sat, 17 May 2014 17:55:36 +0200
> Subject: Re: [tor-talk] Isolating Proxy and iptables.
> 
> On Saturday 17 May 2014 16:59:23 Clare â wrote:
> 
> > I'm setting up a Tor-based isolating proxy using the 'Anonymizing
> > Middlebox' iptables rules specified here:
> > https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy i.e.
> > iptables -t nat -A PREROUTING -i $INT_IF -p udp --dport 53 -j REDIRECT
> > --to-ports 53iptables -t nat -A PREROUTING -i $INT_IF -p tcp --syn -j
> > REDIRECT --to-ports 9040 ...and the INPUT, OUTPUT and FORWARD chains are
> > left at the default. Would there be any merit to also including the
> > following rules? iptables -P INPUT DROPiptables -P FORWARD DROPiptables
> > -P
> > OUTPUT DROP iptables -A INPUT -i lo -j ACCEPTiptables -A INPUT -m state
> > --state ESTABLISHED,RELATED -j ACCEPT iptables -A OUTPUT -o lo -j
> > ACCEPTiptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> > Or
> > are they rendered unnecessary by my current setup?
> > Are there any other firewall rules that I should consider in order to
> > improve security and ensure that all traffic is torified? Many thanks.
> 
>  
>  
> https://bitbucket.org/ra_/tor-> gateway/src/367fedb41377570b6b414940a8788bd692931cd4/overlay/etc/iptables.co
> nf?at=master
 
> might help you.
>  
> It has been suggest recently, to additionally block rules:
> iptables -A OUTPUT -m conntrack --ctstate INVALID -j DROP
> iptables -A OUTPUT -m state --state INVALID -j DROP
>  
> HTH,
> Robert
> 

-- 
We don't bubble you, we don't spoof you ;)
Keep your data encrypted!
Log you soon,
your Admin
elrippo@xxxxxxxxxxxxxxxxx

Encrypted messages are welcome.
0x84DF1F7E6AE03644

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)

mQINBFH797MBEAC0Y0NeI7lmDR9szTEcWuHuRe0r/WjSRC0Nr5nXsghuMcxpJ3Dd
BOBimi4hdMMK4iqPVMwNw6GpKYR3A9LHHjbYRXHUKrJmB+BaJVyzJXN5H6XvxTTb
UfX+DaXAGJW/G+3cBB3qm/QaU8QGkBKfXq0DLTaTGPkGKxEAldj/8onGZhawdJs+
B92JrW+S2HDh15pIuXzSqe7eCcIOdvvwfWe0fJi2AraA7LYGpxP6GcC/b9JJpbq5
Y6DfE2Aun9ZK3iHqURyrms0Whbv1CgmUahL2MVYCsTsXwe0GwlAxxKvjXAiXuo+R
9wO5wsXvVVSVNqsk9Yqi+wYzdPKndTU0GyxSApQHroF+cxaZ8Lk0xloj18+LdCSs
e5IiTSXH0MMsDdWWdHlrgk+bgDG+0Gu3ne4vMwGdKO7AhYgQW/ueMy4RnkG/nsV9
jry5BO4gGAI1Ij8KvqUzEnvJFGE3ptJogU+zazWWDUWmL3ecKb3aDRlJFnZ3kJ5h
q8GolZVjpk99V+4B5WVRPXdej/p5J19tXycK/jdNmr4oC8NyUhIpe8xHELnfoB4z
+rxiTx+KMnW0rY8EQg8O2ixEYt5my90IwQkxcxIxextVrqjJjYn8extc2/v8yGzI
KmTEJxdADB5v/Jx4HiLHNDSfBUb8gfONCkNSTYvTcSwTjWzHOkXeE/9ZbQARAQAB
tD5lbHJpcHBvIChrZWVwIHlvdXIgZGF0YSBlbmNyeXB0ZWQpIDxlbHJpcHBvQGVs
cmlwcG9pc2xhbmQubmV0PokCOAQTAQIAIgUCUfv3swIbLwYLCQgHAwIGFQgCCQoL
BBYCAwECHgECF4AACgkQhN8ffmrgNkT8+BAAoAXBqu4/O2Cs5FSWWZpzgScNEgq7
uHhOKeYmRf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bP4Z3xEw/9EbAJJkhmmx1Qw3ueoqc4h1MmhUtIdxSZ/oA9SjwlnY++zvaZ
6w1wTS4P+OUkETNDtItdpxXMJ9qfSy9voAQc2K43WMZCCmpPJYSdqaZZNPFj+Ne8
6FNtNKuUkXREybpHwlVAXnHzInmFOOM9RAmF70r3zEmKt77W1ztBLo2o9X79gPgL
u9ThgrH6Oc2k46n+9nc3joccr7miiX/bp976DNWcWdOYThiSSOCb8Zw9/Zs935i1
wUVkYTj24tmBH4H5ov9ib7RPmU21ru458RbUKG0ONAqBtAHNyXHzUnXsrke+D4VW
MI06YcXSk8YeYgQ8GxgHQc+W2bb8LIbKN1hEYJ0wzM62vKR2/Oiwuf8lXutIKTuz
+v7Vj1PQd66DGHsxtWRaWnr1c54JTL2wICHJYKFH4grp7864+GL/uQ1O/Z/XxVku
E1JQ/AnwBGU1M1S6otwWGWVRjzEzQtxsfcCEPvV/9td3FIFQAbGTPb+48XFU+TY9
8AlcXBlDzXq7c5f8Evn/oSIsZDt63K4HNTmMGqOTl/p1aA0e4eyX76LczY06rDP5
GMSNs+AHmYgZiS4RYhRUIvS9uLXMnnDAMYst0SDl2orDUUeHBTzu0rchyknBZMGP
p5wQuWQ9CFlV+dj3UYbrBwC1lTkAMXRG2vlhA0V0TZqos7A5D4VHgSUQQjE=
=otlL
-----END PGP PUBLIC KEY BLOCK-----

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk