[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Multiple obsf4 Bridge Relays on macOS
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Multiple obsf4 Bridge Relays on macOS
- From: Wilton Gorske <wilton@xxxxxxxxxx>
- Date: Tue, 14 Apr 2020 08:34:07 -0700
- Autocrypt: addr=wilton@xxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFpazjEBEAC9NceFndBehuez8o3vosRoKuxMtXuHKVeS0fVceb/7BoyoKppkBw89Iweg 3DC3ljAoV7SWb+CAsAlhZC4mrzYqWMIx8Ad1HzKhRqLSqOTr6oSKGKUQvNBMV85O5CmFW5V1 YJBuTCAJaMw/7hAVGj6jZcPxDJQEXL9nw4/egKBqzHV4yZoRhZPjiKjK0AiBw8Dvi4LsIsoB ugn2EOZEbDjp+/PpRfJy26odmdRZjsU+yvSbr9UPXD6YnH3l53q5pCOAPXKk/F41W+aPgt/k i1YR1/buf5SnLDxOqA6JboVbZHOshPZsaw1BcpoZQdRVCwkj73e5HtQmDQCcDr0X+0KQ3k7K M++mTpVcXrzmerH+PRlasTSVDuz0+wIoMjn6NjUgCnIN9xnPl24RfM+bFhtbj3IX/Yt8HoCx UM+YBh+jI8abT0mJzyPCWlLkzUWWe4v0Mv/Y33ku7XNVaBVMwM6fD64T2+WidAYOHU/zlkmr hQoNNuGEa49IxP44GR1LGUyGvOSUHBVTIbEn5W6qvhd02A40v2+OVnlH4XfsLFjjCCCQU/0o 5ZkH/PDEDZ7JSCs/sYuTuo2HaMLUENPbP/Mbs1rAXvJP1U26/Gd32fNH/Bc6LBv5u+zbSRve WrLaHli305OrLeGtlIOL6yMcBd/qGTniY9xBpUPBW72d11WGDQARAQABzSFXaWx0b24gR29y c2tlIDx3aWx0b25AcmlzZXVwLm5ldD7CwX0EEwEKACcFAlpazjECGwMFCQ0rC4AFCwkIBwMF FQoJCAsFFgIDAQACHgECF4AACgkQBH9H8kUC100DvRAA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- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Tue, 14 Apr 2020 11:45:10 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1586878452; bh=KM/jlJZYfI/TfenYvcVecxos41vri1cIftcWUxGW42E=; h=From:To:Subject:Date:From; b=Ec/Mmmhy/2CDTwJ4xeTw3H0WUYPEHEtBO2FNnSE6nHwcdQmjQvZ/X9AiZKP3h7Z66 htmSHFPyuyDc38hcV1zW7awuBrtiuqWXWdkRFm3WYMnO/6ouQg0qf9KLO858Wd45dR ZRp/vU0TWwCl8LhYT4DzmqVPCOC/JeGN8IToqYAg=
- List-archive: <http://lists.torproject.org/pipermail/tor-relays/>
- List-help: <mailto:tor-relays-request@lists.torproject.org?subject=help>
- List-id: "support and questions about running Tor relays \(exit, non-exit, bridge\)" <tor-relays.lists.torproject.org>
- List-post: <mailto:tor-relays@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=unsubscribe>
- Reply-to: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-relays" <tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx>
Hi all,
Firstly, I hope you're taking care and staying safe (against pandemics
and surveillance, especially considering how the latter is taking
advantage of the former).
Secondly, and mainly, I am working on setting up ten obsf4 bridge relays
on macOS and keep running into port issues, so I'm hoping to get some
general advice and guidance about how to set this up in the absence of
updated macOS tutorials online.
These bridge relays are going to run on one macOS server. Knowing that
they can each have their own dedicated IP address, could someone advise
how to best set up these multiple obsf4 bridge instances so each can be
run (tor -f /usr/local/etc/tor/torrc.1, torrc.2, torrc.3, etc...) under
one non-root user with only two public ports open on the data center
network (80 and 443)? I'm getting stuck at the port reachability phase,
and even more so when trying to run multiple instances with
forwarding/binding warnings.
The Application Level Firewall allows certain granted programs
(tor/tor-gencert/tor-print-ed-signing-cert/tor-resolve/torify/obfs4proxy)
the ability to open or accept a network socket. By editing the macOS
network system settings to route port 80 to 9005, and noting ORPort 80
NoListen ORPort 0.0.0.0:9005 NoAdvertise in the torrc, that works
correctly (including routing 443 for obfs4proxy). Running a second
instance is where it seems to break down. Is there a way to have
multiple tor instances sharing a port?
My guess is the main issue is that at the system routing level, I need a
way to note each IP and port so it goes to the right tor instance.
Currently, the forwarding is set up like:
rdr pass on en1 inet proto tcp from any to any port 80 -> 127.0.0.1 port
9005
I'm guessing I need some way to designate IP XX.XXX.XX.120 -> port 9005
(torrc.1), XX.XXX.XX.121 -> port 9006 (torrc.2), XX.XXX.XX.122 -> port
9007 (torrc.3), etc. Is that correct?
A copy of my notes and configurations so far can be found here:
http://5jp7xtmox6jyoqd5.onion/p/ISjeXEW-vt8H1s89bwSW
Please feel free to make suggestions or edits directly in that etherpad.
I'm sure there are multiple ways to do this, but I definitely want to
make sure I am using the most secure method as opposed to the easiest or
quickest... Thanks for any help in advance.
All the best,
Wilton
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays