重庆思庄Oracle、、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4275|回复: 0
打印 上一主题 下一主题

[转帖]Linux firewall rules for RAC

[复制链接]
跳转到指定楼层
楼主
发表于 2013-10-7 16:55:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

    Most notes on the Oracle MOS support site suggest disabling the firewall supplied in most Linux distros as managed by the iptables program. I think this is a bit drastic, and results in lazy thinking at best, and an exposed database server subject to all sorts of hacker invasion at worst.

If you don’t want to understand every nuance of Linux firewalls, but do want to at least not completely disable it, the easiest fix is to add a simple rule to your iptables configuration on each server in the cluster.

As root:

vi /etc/sysconfig/iptables

add the following line before any REJECT rules, changing eth1 to whatever your private interface is

-A RH-Firewall-1-INPUT -p udp -i eth1 -j ACCEPT

Restart the firewall

service iptables restart
iptables -nvL

You should see a line with increasing packet activity for the UDP protocol on your private network interface.

This leaves all other firewall rules in place, and allows only UDP traffic on the private interface.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2025-4-21 07:11 , Processed in 0.091151 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表