Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

CUBRID iptables Firewall Configuration


If you want to connect remotely to a CUBRID Database that is installed on a Linux System (Fedora, CentOS or Ubuntu), then you have to enable the following ports:

  • 8001 and 8002 if you want to connect to the application using CUBRID Manager
  • 30000 and/or 33000 if you want to connect using a Driver such as JDBC, PHP, Python and so forth

To open any port in Linux you can run iptables commands. Below you can see the commands you need to run to open 8001,8002, 30000 and 33000 ports to any IP address.

iptables -I INPUT -p tcp --dport 8001 -j ACCEPT
iptables -I INPUT -p tcp --dport 8002 -j ACCEPT
iptables -I INPUT -p tcp --dport 30000 -j ACCEPT
iptables -I INPUT -p tcp --dport 33000 -j ACCEPT

You can restrict the ports to just one IP address or group of IP addresses. For more detailed information, check out CUBRID Port and iptables (firewall) Configuration.

comments powered by Disqus
Page info
viewed 2320 times
translations en
Author
posted 2 years ago by
CUBRID
Contributors
updated 2 years ago by
View revisions
Share this article