[tor-talk] Allow only tor connections to server

tor at lists.grepular.com tor at lists.grepular.com
Wed Sep 19 08:44:19 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 19/09/12 09:26, atranox at mailtor.org wrote:

> I am running Tor and dovecot (mail) on debian. No I can let listen
> the dovecot server on "Listen *:1234"

> The problem is, that you also can access this server without tor. 
> Is there a way to only accept tor connections?

Can you change it to "Listen 127.0.0.1:1234" ?

Also, this isn't Tor specific, but it's something every Linux sysadmin
should do: Learn iptables. Block all traffic by default, and then
write rules to allow through only the traffic that you need.

- -- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4
-----BEGIN PGP SIGNATURE-----

iQGGBAEBCgBwBQJQWYXjMBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu
Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt
aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBJ69CADAZMi8PDOg
sXE0LKRRnEKlzhw1jNduhWLHTQSVESl8xbGzgnQC/cJWsrBOvbtgfzTjivkH8C3S
8sbmSjdBKV/KYWGif1jRlS5w1uNLysyCYa40heWtfoVy3DfP8mohqWpXWbL8T5b9
gcqb+dEDQm6mJmxQyOtyVVJKtxm8mohtaTGECXOR6VD+32oQFras7tJ5lIER344d
pQ78sqXsDLn860LBFc0y4lNpkuec4jv+8ieRCfKe1rw6RAzNjqLnvVIZMPwtpUkY
TrThbyKLETF3Pf1jrFnf7mMGpV9539VzPzXJdnMl2UmADSGT6u39tkzCtXLwyiUz
JsVMPTwJiXhy
=4vTB
-----END PGP SIGNATURE-----


More information about the tor-talk mailing list