==============================================================
iptables -I INPUT -p tcp --dport 8020 --syn -j ACCEPT ( This is stored in /etc/iptables.conf)
service iptables save
Add the following command in /etc/rc.local to reload the rules in every reboot.
iptables-restore < /etc/iptables.conf
[root@oracletest ~]# chkconfig --list telnet
telnet on
[root@oracletest ~]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Curl command from unix server can tell whether EBS/Oracle Apps Url is accessible or not
(without going to browser to check )
==============================================================
cat /etc/rc.local
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
iptables-restore < /etc/iptables.conf
No comments:
Post a Comment