I could use some help limiting connection to a remote server.
We have set up a connection in OpenOffice Base to MtSql on a
remote server - a very nifty thing.
We have OpenVpn set up - also works very good, in Yast - Security and users -
allowed services - External Zone we have Mysql added so we can connect no
problem.
My Question is : we can connnect using OpenVpn - through 10.x.x.x. but also
via the normal address , 193.x.x.x.
How can I limit this, so people can only connect via the OpenVpn connection?
The clients are all OpenSuse 11.2, the remote server is OpenSuse 11.1.
On the MySQL side you can specify that the logins must come from certain IP addresses. The client IP addresses going through OpenVPN will be different from that going directly.
You can also use an iptables rule on the MySQL server to block port 3306 to direct connections.