on master help sign in
Clarify mentions of specified Ames port

Also add the port to the firewall commands

commit7ce07c2a0e10ade76ccf0e64a18c8ca54f9c04ae authorlycurgus <lycurgus@users.noreply.github.com> dateWed 4 Nov 2020, 09:26 (6 years ago) parente41d265
1 file changed+5−2
content/using/operations/hosting.md+5−2
content/using/operations/hosting.md+5−2
@@ -83,11 +83,14 @@ Continuing to follow the DO docs we're going to configure the ufw firewall.
8383 ```
8484 $ sudo ufw app list
8585 ```
86− - Next we'll configure ufw to allow connections via ssh and to allow Urbit to use the standard web port when the firewall is enabled.
86+ - Next we'll configure ufw to allow connections via ssh and to allow Urbit to use the standard web port when the firewall is enabled, as well as opening a port that we'll later use for Ames, Urbit's p2p protocol.
8787 ```
8888 $ sudo ufw allow OpenSSH
8989 $ sudo ufw allow www
90+ $ sudo ufw allow 34543/udp
9091 ```
92+ Note that you can choose any port in place of 34543 for Ames. Just be sure to pass the same port via the `-p` option when starting your ship.
93+
9194 - Next we'll turn on the firewall.
9295 ```
9396 $ sudo ufw enable
@@ -121,7 +124,7 @@ Finally we're ready to install Urbit on your very own server. This part is actua
121124 $ ssh your_user@your_domain
122125 $ cd urbit
123126 $ tar -zxvf <ship_dir_name>.tar.gz
124− $ ./urbit-v0.10.8-linux64/urbit <ship_dir_name>
127+ $ ./urbit-v0.10.8-linux64/urbit -p 34543 <ship_dir_name>
125128 ```
126129 - Now we run a few commands in Dojo to request a Let’s Encrypt cert for your domain (replace `tld` with whatever your top-level domain is e.g. `com` in `example.com`:
127130 ```