CIPE 서버를 설정하기 위해서는, Red Hat Enterprise Linux CD-ROM이나 Red Hat Network에서 cipe RPM 패키지를 설치하시기 바랍니다.
![]() | 중요 |
|---|---|
이전 버전 Red Hat Enterprise Linux이나 이전 버전 CIPE를 사용하신다면, 최신 버전으로 업그레이드 시키셔야 합니다. |
다음으로 /usr/share/doc/cipe-version/samples/ (여기서 version은 시스템에 설치된 CIPE의 버전을 의미합니다)에서 예시 설정 파일을 /etc/cipe/로 복사해 오십시오. 복사를 마친 후 /etc/cipe/options.cipcbx 파일에 LAN 서브넷 주소와 공개 라우트 가능한 방화벽 IP 주소를 입력하시기 바랍니다 (CIPE 서버에서 한 개 이상의 CIPE 접속을 원하시는 분들은 x를 0에서 시작하여 계속 증가시키면 됩니다). 다음은 Red Hat Enterprise Linux cipe RPM에 포함된 예시 options 파일입니다. 이 RPM은 다음 예시에서는 options.cipbcb0으로 이름이 변경되었습니다:
# Surprise, this file allows comments (but only on a line by themselves) # This is probably the minimal set of options that has to be set # Without a "device" line, the device is picked dynamically # the peer's IP address ptpaddr 6.5.4.3 # our CIPE device's IP address ipaddr 6.7.8.9 # my UDP address. Note: if you set port 0 here, the system will pick # one and tell it to you via the ip-up script. Same holds for IP 0.0.0.0. me bigred.inka.de:6789 # ...and the UDP address we connect to. Of course no wildcards here. peer blackforest.inka.de:6543 # The static key. Keep this file secret! # The key is 128 bits in hexadecimal notation. key xxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
ptpaddr는 원격 LAN의 CIPE 주소입니다. ipaddr는 워크스테이션의 CIPE IP 주소입니다. me 주소는 인터넷 상에서 UDP 패킷을 보내는 클라이언트의 공개적으로 라우트가능한 IP 주소이며 반면 peer는 CIPE 서버의 라우팅 가능한 IP 주소입니다. 클라이언트 워크스테이션의 IP 주소는 동적 연결을 사용하기 때문에 0.0.0.0로 지정하셔야 합니다. CIPE 클라이언트는 호스트 CIPE 서버로의 연결을 처리합니다. key 란 (x로 나타나며; 키는 비밀입니다)은 공유 고정키입니다. 이 키는 반드시 양 peers에서 동일해야하며 그렇지 않으면 연결이 성립되지 않습니다. CIPE 시스템에 사용될 공유 고정키를 생성하는 방법에 대한 정보를 보시려면 6.8 절을 참조하시기 바랍니다.
다음은 클라이언트 워크스테이션에서 사용할 수정된 /etc/cipe/options.cipcb0 파일입니다:
ptpaddr 10.0.1.2 ipaddr 10.0.1.1 me 0.0.0.0 peer LAN.EXAMPLE.COM:6969 key 123456ourlittlesecret7890shhhh |
다음은 CIPE 서버에 사용될 /etc/cipe/options.cipcb0 파일입니다:
ptpaddr 10.0.1.1 ipaddr 10.0.1.2 me LAN.EXAMPLE.COM:6969 peer 0.0.0.0 key 123456ourlittlesecret7890shhhh |