SUSE Linux Enterprise Server 15에서는 SuSEfirewall2대신 firewalld를 이용해서 ssh 접근을 허용해야 한다.

 

SUSE Linux Enterprise Server 15는 RHEL과 다르게 firewall에 기본으로 ssh 서비스가 허용되어 있지 않다.

# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  sources: 
  services: dhcpv6-client 
  ports: 
  protocols: 
  forward: no
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules:

 

firewall에 ssh 서비스를 등록해서 허용해 주어야 한다.

 

firewall에 ssh 서비스 등록은 아래와 같이 "--add-service=ssh"를 해주면 된다.

# firewall-cmd --add-service=ssh --permanent
success
# firewall-cmd --reload
success

 

등록 후 조회해 보면 아래와 같이 추가되어 있는것을 확인할 수 있다.

# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  sources: 
  services: dhcpv6-client ssh
  ports: 
  protocols: 
  forward: no
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules:

 

'Applications > LINUX' 카테고리의 다른 글

DISK LABEL부여 하기  (0) 2025.04.09
[RHEL 9] 달라진 selinux disable 방법  (0) 2025.02.11
[RHEL 9] 달라진 GRUB 설정  (0) 2025.02.06
[RHEL9] NIS 지원 종료  (0) 2025.01.24
[github] Weather Research and Forecasting Model  (0) 2025.01.20

+ Recent posts