본문 바로가기

Linux/자주쓰는 명령어 정리

iptables 특정 ip 허용

# SSH - 접근하고 싶은 ip

-A RH-Firewall-1-INPUT -p tcp -s 115.xxx.xxx.xxx --dport 22 -j ACCEPT