Remote Mysql connection

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Remote Mysql connection

Postby umop3plsdn » Mon Jul 28, 2008 9:27 am

I was in a bind this morning so i installed Vicidialnow. What is the quickest way to enable remote mysql connections on a default install whereas the rest of my servers scripts rely on connecting to mysql on the dialer remotely?
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine

Postby gardo » Mon Jul 28, 2008 1:30 pm

What version of VicidialNOW are you using?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby umop3plsdn » Mon Jul 28, 2008 1:31 pm

vicidialnow-ce-1.1
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine

Postby gardo » Mon Jul 28, 2008 1:46 pm

You can edit /etc/sysconfig/iptables and uncomment this entry:

#-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 3306 -j ACCEPT

Restart iptables by running this:

service iptables restart

The drawback is this will allow anyone access to your mysql database. I recommend limiting the access to your hosts or network.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby umop3plsdn » Mon Jul 28, 2008 2:17 pm

awesome thank you! i didnt even check to see if it was a firewall issue... it's been a long day already.
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine

Postby rcphq » Thu Oct 23, 2008 3:02 pm

Im not used to iptables config,
i did a initial google search and wasn't clear on how i can limit this to just a certain network mask, any help here?
(thanks for the solution!)

gardo wrote:You can edit /etc/sysconfig/iptables and uncomment this entry:

#-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 3306 -j ACCEPT

Restart iptables by running this:

service iptables restart

The drawback is this will allow anyone access to your mysql database. I recommend limiting the access to your hosts or network.
rcphq
 
Posts: 42
Joined: Fri Nov 02, 2007 8:54 am

Postby gardo » Fri Oct 24, 2008 9:10 am

You can google more on how to achieve this. There are lots of articles on how to manipulate iptables. Here's an example entry:

-A RH-Firewall-1-INPUT -m tcp -p tcp -s IP_ADDRESS --dport 3306 -j ACCEPT

Where IP_ADDRESS is the IP address you want to allow access to your mysql.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby rcphq » Fri Oct 24, 2008 5:59 pm

gardo wrote:You can google more on how to achieve this. There are lots of articles on how to manipulate iptables. Here's an example entry:

-A RH-Firewall-1-INPUT -m tcp -p tcp -s IP_ADDRESS --dport 3306 -j ACCEPT

Where IP_ADDRESS is the IP address you want to allow access to your mysql.


thanks!
rcphq
 
Posts: 42
Joined: Fri Nov 02, 2007 8:54 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 111 guests