Mosh configuration: Difference between revisions

From wikinotes
(Created page with "= Client = <blockquote> == SSH Connections == <blockquote> mosh respects your <code>~/.ssh/config</code>. </blockquote><!-- SSH Connections --> == Firewall == <blockquote> B...")
 
Line 10: Line 10:
<blockquote>
<blockquote>
By default, the mosh client client communicates out over UDP <code>60000-61000</code>.
By default, the mosh client client communicates out over UDP <code>60000-61000</code>.
<syntaxhighlight lang="pf">
# /etc/pf.conf
pass in on $ext_if proto udp to $ext_ip port 60000:61000
</syntaxhighlight>
</blockquote><!-- Firewall -->
</blockquote><!-- Firewall -->
</blockquote><!-- Client -->
</blockquote><!-- Client -->

Revision as of 05:10, 29 December 2021

Client

SSH Connections

mosh respects your ~/.ssh/config.

Firewall

By default, the mosh client client communicates out over UDP 60000-61000.

# /etc/pf.conf
pass in on $ext_if proto udp to $ext_ip port 60000:61000

Server

Firewall

By default, the mosh-client will communicate out to this server on UDP 60000-61000.