systemrescue-recipe/iso_add/autorun/open-ssh-port.sh

5 lines
139 B
Bash
Executable File

#!/bin/bash
# Allow incoming and outgoing ssh
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT