public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* In-/Outbound firewall configuration for Tor relay
@ 2018-06-27 20:53 Peter Müller
  2018-06-28 12:24 ` Michael Tremer
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Müller @ 2018-06-27 20:53 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

Hello,

for quite some time, IPFire includes Tor via Pakfire as an add-on.

Trying to set up a Tor relay there, I stumbled into several problems
regarding firewall rule configuration:

(a) Inbound
It turns out that Tor is not working correctly if GeoIP block is
active (this occurred after a reboot - strange). Of course, one
possibility is to disable GeoIP block at all, allow access to the
Tor relay ports, and deny any except those of legitimate countries
to other services on the firewall machine.

Since this enlarges the ruleset (already quite complex here :-| ),
I am wondering if there is a more simple way to achieve this.

(b) Outbound
For security reasons (surprise!), outgoing connections are heavily
limited here - only DNS, NTP and web traffic is allowed, and only
to a certain list of countries. Some call that "racist routing"...

This does not work with Tor since it needs to open connections to
almost any port on almost any IP address. Allowing outbound traffic
in general is out of question, so there seems to possibility left.

Besides from running a Tor relay in the local DMZ and apply the
firewall rules for this machine, is there another way?

Thanks, and best regards,
Peter Müller
-- 
"We don't care.  We don't have to.  We're the Phone Company."


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <d285bf5e6b378eaed27b8c2650fdc102be5d1a5b.camel@ipfire.org>]

end of thread, other threads:[~2018-07-01  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 20:53 In-/Outbound firewall configuration for Tor relay Peter Müller
2018-06-28 12:24 ` Michael Tremer
2018-06-28 17:14   ` Peter Müller
2018-06-29 21:26     ` Peter Müller
     [not found] <d285bf5e6b378eaed27b8c2650fdc102be5d1a5b.camel@ipfire.org>
2018-07-01  6:00 ` Peter Müller
2018-07-01  9:39   ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox