VyOS: nat 소스 규칙 [eth0]이 유효하지 않습니다. 설정 실패

VyOS: nat 소스 규칙 [eth0]이 유효하지 않습니다. 설정 실패

나는 "를 받고있다nat 소스 규칙 [eth0]이 유효하지 않습니다. 설정 실패" 내 vyos cli에 오류가 발생했습니다. 이 게시물에는 내 연구실 네트워크 다이어그램도 포함했습니다. 저는 vyos를 라우터로 사용하고 싶었고 NAT를 수행하고 싶었습니다. 이 설정은 Proxmox 서버에서 수행되었으며 웹 서버를 갖고 싶었습니다. LAN에 있는 dmz 및 기타 장치를 사용하여 WAN에 연결할 수 있습니다.

초기 vyos 설정을 위해 수행한 단계:

---------- for eth0 (WAN) ------------- 

set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth0 description 'WAN-INTERFACE'
---------- for eth1 (LAN) -------------
set interfaces ethernet eth1 address '192.168.1.1/24'
set interfaces ethernet eth1 description 'LAN-INTERFACE'

**for the nat- in the same console**
set nat source rule 100 source address '192.168.1.0/24'
set nat source rule 100 outbound-interface 'eth0'
set nat source rule 100 translation address masquerade

---------- for eth2 (DMZ) -------------
set interfaces ethernet eth2 address '192.168.2.1/29'
set interfaces ethernet eth2 description 'DMZ'


set nat source rule 200 source address '192.168.2.0/24'
set nat source rule 200 outbound-interface 'eth0'
set nat source rule 200 translation address masquerade

문제: 하지만 eth1 또는 eth2 모두에 대해 아웃바운드 인터페이스 규칙 'eth0'을 설정할 때 위에서 언급한 오류가 발생했습니다. 'show nat'를 확인해보니 규칙에 구현된 아웃바운드 인터페이스가 표시되지 않습니다.

시도한 단계: 제가 알고 수행한 유일한 작업은 이더넷 인터페이스 이름이 eth0이 아닌 다른 이름이 아닌지 확인하는 것이었고 실제로는 'eth0'입니다.

이 문제를 어떻게 해결할 수 있나요??? 미리 감사드립니다!!!!

관련 정보