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

5 lines
139 B
Bash
Raw Normal View History

2023-10-19 19:32:24 -03:00
#!/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