Last active
August 29, 2015 14:13
-
-
Save pjvds/b05c14c2eddd92902c7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum localinstall -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm | |
yum install -y mosh | |
echo '<?xml version="1.0" encoding="utf-8"?> <service> <short>mosh</short> <description>mobile shell server</description> <port protocol="udp" port="60000-61000"/></service>' > /etc/firewalld/services/mosh.xml | |
restorecon /etc/firewalld/services/mosh.xml | |
chmod 640 /etc/firewalld/services/mosh.xml | |
firewall-cmd --reload | |
firewall-cmd --permanent --add-service=mosh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment