
다음 규칙을 번역해야 합니다.
iptables -A firewall -p udp –dest 239.250.0.0/16 -j ACCEPT
iptables -A firewall -p igmp –dest 239.250.0.0/16 -j ACCEPT
UFW 규칙에 따라. -A -dest -j를 설정하는 방법을 모릅니다. 이 규칙을 시도했지만 작동하지 않습니다.
sudo ufw allow proto udp to 239.250.0.0/16
UFW의 명령은 어떻게되어야합니까?
답변1
많은 검색과 문의 끝에 UFW에서 nftables로 전환하라는 조언을 받았습니다. 그런 다음 iptables-translate
명령을 사용하여 필요한 규칙을 만들었는데 다음과 같습니다.
iptables-translate -A firewall -p igmp --destination 239.250.0.0/16 -j ACCEPT
그리고 그렇게 문제를 해결할 수 있었는데..