<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I'm not sure how TOR gets its addresses but sometimes you need to
specify it directly, especially for bridges for some reason. Just
use your whole IP</p>
<p>ORPort 123.456.789.123:80</p>
<p><br>
</p>
<p>Dont forget if you are mapping Obfs4 you need to add the
permissions so obfs can go to a port that low</p>
<p><br>
</p>
<blockquote>
<p><i><font size="-1">Don't forget to change the <code>ORPort</code>,
<code>ServerTransportListenAddr</code>, <code>ContactInfo</code>,
and <code>Nickname</code> options.</font></i></p>
<i><font size="-1">
</font></i>
<ul>
<li>
<p><i><font size="-1">If you decide to use a fixed obfs4 port
smaller than 1024 (for example 80 or 443), you will need
to give obfs4 <code>CAP_NET_BIND_SERVICE</code>
capabilities to bind the port with a non-root user:</font></i></p>
<p><i><font size="-1"><code>sudo setcap
cap_net_bind_service=+ep /usr/bin/obfs4proxy</code></font></i></p>
<p><i><font size="-1">To work around systemd hardening, you
will also need to set <code>NoNewPrivileges=no</code>
in <code>/lib/systemd/system/tor@default.service</code>
and <code>/lib/systemd/system/tor@.service</code> and
then run <code>systemctl daemon-reload</code>. For more
details, see <a
href="https://gitlab.torproject.org/tpo/core/tor/-/issues/18356">ticket
18356</a>.</font></i></p>
</li>
<li>
<p><i><font size="-1">Note that both Tor's OR port and its
obfs4 port must be reachable.
If your bridge is behind a firewall or NAT, make sure to
open both ports.
You can use <a
href="https://bridges.torproject.org/scan/">our
reachability test</a> to see if your obfs4 port is
reachable from the Internet.</font></i></p>
</li>
</ul>
</blockquote>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/15/2021 3:00 PM, Anonforpeace
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:__aowcUWXHOpMYYoOxWnq1tEX7MUc5mrmogwhlLskplneIc2BtEn0G1aJXcmE5gVzA2xQNATOwQfbSA39oQN7Zdj8LCeVbotoUecQKvFLOY=@protonmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Hello:<br>
</div>
<div>Am trying to configure my bridge according to instructions on
Tor site. Using Ubuntu. No matter what port I pick for the
ORPort I keep getting this error:<br>
</div>
<div><br>
</div>
<div>Unable to find IPv4 address for ORPort 80. You might want to
specify IPv4Only to it or set an explicit address or set
Address.<br>
</div>
<div><br>
</div>
<div>Have never seen this before. Please help.<br>
</div>
<div>Thanks<br>
</div>
<div><br>
</div>
<div class="protonmail_signature_block
protonmail_signature_block-empty">
<div class="protonmail_signature_block-user
protonmail_signature_block-empty"><br>
</div>
<div class="protonmail_signature_block-proton
protonmail_signature_block-empty"><br>
</div>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
tor-relays mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>
<a class="moz-txt-link-freetext" href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a>
</pre>
</blockquote>
</body>
</html>