此内容没有您所选择的语言版本。

3.6. Saving Network Packet Filter Settings


After configuring the appropriate network packet filters for your situation, save the settings so they get restored after a reboot. For iptables, type the following command:
/sbin/service iptables save
This saves the settings in /etc/sysconfig/iptables so they can be recalled at boot time.
Once this file is written, you are able to use the /sbin/service command to start, stop, and check the status (using the status switch) of iptables. The /sbin/service will automatically load the appropriate module for you. For an example of how to use the /sbin/service command, see Section 2.3, “Starting the Piranha Configuration Tool Service”.
Finally, you need to be sure the appropriate service is set to activate on the proper runlevels. For more on this, see Section 2.1, “Configuring Services on the LVS Routers”.
The next chapter explains how to use the Piranha Configuration Tool to configure the LVS router and describe the steps necessary to activate LVS.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.