Discussion:
[urbit] Urbit behind firewall
Wei Tang
2016-08-16 03:20:37 UTC
Permalink
To setup a urbit, which port should I set open for the firewall?

Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?

-- Wei
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Philip Monk
2016-08-16 03:31:56 UTC
Permalink
Unfortunately, daemon mode hasn't worked for a while. Most of us that
urbit running persistently use screen or tmux.

Urbit uses a random UDP port in a range. I'm not completely sure what the
range is, except that I'm pretty sure it's somewhere in 13337-65536.
Post by Wei Tang
To setup a urbit, which port should I set open for the firewall?
Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?
-- Wei
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Philip Monk
2016-08-16 03:34:32 UTC
Permalink
Actually, there's a -p option that sets the port if you don't want to open
a whole range. Just make sure to use it every time you invoke urbit.
Post by Philip Monk
Unfortunately, daemon mode hasn't worked for a while. Most of us that
urbit running persistently use screen or tmux.
Urbit uses a random UDP port in a range. I'm not completely sure what the
range is, except that I'm pretty sure it's somewhere in 13337-65536.
Post by Wei Tang
To setup a urbit, which port should I set open for the firewall?
Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?
-- Wei
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Philip Monk
2016-08-16 03:50:14 UTC
Permalink
Sorry for the triple post, but it looks like it just calls bind() with a
port of 0 if you don't specify, so it would actually use any available UDP
port.
Post by Philip Monk
Actually, there's a -p option that sets the port if you don't want to open
a whole range. Just make sure to use it every time you invoke urbit.
Post by Philip Monk
Unfortunately, daemon mode hasn't worked for a while. Most of us that
urbit running persistently use screen or tmux.
Urbit uses a random UDP port in a range. I'm not completely sure what
the range is, except that I'm pretty sure it's somewhere in 13337-65536.
Post by Wei Tang
To setup a urbit, which port should I set open for the firewall?
Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?
-- Wei
--
You received this message because you are subscribed to the Google
Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wei Tang
2016-08-16 04:28:50 UTC
Permalink
Hi Philip,

It seems that -p option sets the port for HTTP binding? Is there another
option to set for the UDP binding?

-- Wei
Post by Philip Monk
Sorry for the triple post, but it looks like it just calls bind() with a
port of 0 if you don't specify, so it would actually use any available UDP
port.
Post by Philip Monk
Actually, there's a -p option that sets the port if you don't want to
open a whole range. Just make sure to use it every time you invoke urbit.
Post by Philip Monk
Unfortunately, daemon mode hasn't worked for a while. Most of us that
urbit running persistently use screen or tmux.
Urbit uses a random UDP port in a range. I'm not completely sure what
the range is, except that I'm pretty sure it's somewhere in 13337-65536.
Post by Wei Tang
To setup a urbit, which port should I set open for the firewall?
Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?
-- Wei
--
You received this message because you are subscribed to the Google
Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send
<javascript:>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wei Tang
2016-08-16 04:30:09 UTC
Permalink
Ah got it. I misunderstood.
Post by Wei Tang
Hi Philip,
It seems that -p option sets the port for HTTP binding? Is there another
option to set for the UDP binding?
-- Wei
Post by Philip Monk
Sorry for the triple post, but it looks like it just calls bind() with a
port of 0 if you don't specify, so it would actually use any available UDP
port.
Post by Philip Monk
Actually, there's a -p option that sets the port if you don't want to
open a whole range. Just make sure to use it every time you invoke urbit.
Post by Philip Monk
Unfortunately, daemon mode hasn't worked for a while. Most of us that
urbit running persistently use screen or tmux.
Urbit uses a random UDP port in a range. I'm not completely sure what
the range is, except that I'm pretty sure it's somewhere in 13337-65536.
Post by Wei Tang
To setup a urbit, which port should I set open for the firewall?
Also, I found in the source code that there's a daemon mode "-d" being
commented out. Is that actually available?
-- Wei
--
You received this message because you are subscribed to the Google
Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...