Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.7.3. 네트워크 패킷 필터링 규칙 동기화

iptables을 사용하고 있을 경우, 백업 LVS 라우터에서 올바를 설정 파일을 동기화해야 합니다.
네트워크 필터 규칙을 변경할 경우, 주요 LVS 라우터에서 root로 다음과 같은 명령을 입력합니다:
scp /etc/sysconfig/iptables n.n.n.n:/etc/sysconfig/
명령에서 n.n.n.n을 백업 LVS 라우터의 실제 IP 주소로 대체합니다.
백업 라우터에 ssh 세션을 열거나 또는 root로 컴퓨터에 로그인한 후 다음과 같은 명령을 입력합니다:
/sbin/service iptables restart
Once you have copied these files over to the backup router and started the appropriate services (see 2.1절. “LVS 라우터 상의 설정 서비스 ” for more on this topic) you are ready to start LVS.