Wednesday, February 15, 2012

Changing iptables to enable https on port 4900

I tried to deploy oracle management agent on one ovm, since all oracle vm are using iptables, so i got some error that failed to connect via https on port 4900 during agent push.

Here is what i did to enable https on port in iptables

1. [soa@vRRSOADEV01 agent_inst]$ sudo vi /etc/sysconfig/iptables

2. add one entry:

-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 4900 -j ACCEPT


3. Save the changes and restart iptables via

[soa@vRRSOADEV01 agent_inst]$ sudo /sbin/service iptables restart

That's it.

No comments:

Post a Comment