Day1

작전명다람쥐·2022년 1월 12일

DoIt

목록 보기
1/5

1. VM 3대 구성
yum -y install bind bind-utils net-tools

  • DNS(나머지 WEB, LVM 동일)
  1. port 9402 설정(방화벽 포트 변경)

    firewall-cmd --permanent --zone=public --add-port=9402/tcp
    firewall-cmd --permanent --zone=public --add-port=53/udp
    firewall-cmd --reload

  2. ssh 환경설정 변경

    vi /etc/ssh/sshd_config
    #Port 22 -> Port 9402

  3. 서비스 재구동

    systemctl restart sshd

  4. 오류 발생 시

    semanage port -a -t ssh_port_t -p tcp 9402
    semanage port -a -t ssh_port_t -p udp 53
    system restart sshd

  • Network 변경
    vi /etc/sysconfig/network-scripts/ifcfg-ens33
profile
자두과자~

0개의 댓글