iptables on database

0

iptables -I INPUT -p tcp -m state –state NEW,ESTABLISHED -m tcp –dport 8443 -m comment –comment “Required for APEX Web Access. ” -j ACCEPT
iptables -I INPUT 1 -p tcp –dport 8443 -j ACCEPT
iptables -L -v -n | grep 8443

iptables -I INPUT -p tcp -m state –state NEW,ESTABLISHED -m tcp –dport 1521
iptables -I INPUT 1 -p tcp –dport 1521 -j ACCEPT
iptables -L -v -n | grep 1521
service iptables save

iptables -L -v -n | grep 1521
104K 25M ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1521
0 0 tcp — * * 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED tcp dpt:1521
iptables -L -v -n | grep 8443
36256 5543K ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8443
0 0 ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED tcp dpt:8443 /* Required for APEX Web Access. */
28527 8158K ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8443
16 4264 ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED tcp dpt:8443 /* Required for APEX Web Access. */

Share.

About Author

Leave A Reply