OS

Configure IP Address Masquerading

by LionHeart posted Dec 05, 2017
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
3.8.13.5.12. Configure IP Address Masquerading

To check if IP masquerading is enabled, for example for the external zone, enter the following command as root:
~]# firewall-cmd --zone=external --query-masquerade && echo "enabled" || echo "Not enabled"

If zone is omitted, the default zone will be used.

To enable IP masquerading, enter the following command as root:
~]# firewall-cmd --zone=external --add-masquerade

To make this setting permanent, add the --permanent option and reload the firewall.

To disable IP masquerading, enter the following command as root:
~]# firewall-cmd --zone=external --remove-masquerade


To make this setting permanent, add the --permanent option and reload the firewall.




URL: https://docs-old.fedoraproject.org/en-US/Fedora/19/html/Security_Guide/sec-Configure_IP_Address_Masquerading.html