OpenVZ Forum


Home » General » Support » Database Server just to be reached internal
Database Server just to be reached internal [message #51231] Wed, 12 March 2014 14:54 Go to next message
christian.a is currently offline  christian.a
Messages: 6
Registered: February 2014
Location: Österreich
Junior Member

Hi,

I want to setup a db server that is just reachable at a private 192.168.x.x address.
What do I have to look at?

Just setting a private IP at my webservers and same subnet ip at the db server?
(192.168.0.1 at webserver additional IP and 192.168.0.2 at the db server - and pointing to that internal IP from my webserver?)

Is it that easy?

Regards
Re: Database Server just to be reached internal [message #51232 is a reply to message #51231] Thu, 13 March 2014 11:37 Go to previous messageGo to next message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
You could add a layer of security: add iptables rules on the HN so that it doesn't accept any connections from eth0 to 192.168.x.x
Just in case 192.168.x.x is routed to, or present on the local LAN.
Re: Database Server just to be reached internal [message #51233 is a reply to message #51232] Thu, 13 March 2014 11:48 Go to previous message
christian.a is currently offline  christian.a
Messages: 6
Registered: February 2014
Location: Österreich
Junior Member

Thanks a lot for your reply.
I will do so and report any issues to the commuity.

Regards
Christian
Previous Topic: IPv6 at Hetzner
Next Topic: [solved] Error: Unable to apply new quota values: quota not running
Goto Forum:
  


Current Time: Mon Jul 29 11:26:31 GMT 2024

Total time taken to generate the page: 0.02721 seconds