Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 12:25:41 +0700 (ICT)
From:      "Chatchawan Wongsiriprasert" <cws@miraclenet.co.th>
To:        freebsd-questions@freebsd.org
Subject:   Acess 127.0.0.1 from FreeBSD jail
Message-ID:  <52771.58.136.66.157.1122701141.squirrel@secure.abatravel.net>

next in thread | raw e-mail | index | archive | help
Hi,
   I am now using chroot apache+php, and want to move to more secure
FreeBSD jail.

   After read the FreeBSD handbook, I have been successfully created a
jailed apache+php on my test server but there is a litle problem that
need to be solved before I put it on my real server.

   I run mysql-server on this server and make it listen only to 127.0.0.1
(--bind-address option). How can  I access mysql-server on this server
from the jail without
    (1) make mysql-server listen to the real ip (I don't want to open
another door to my server -- firewall can be employ but this add
another complexity to my setup)
     or
    (2) using unix socket (a lot of code to change and test -- most are
develop by another people).


Regards,
Chatchawan Wongsiriprasert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52771.58.136.66.157.1122701141.squirrel>