Hi
Currently im tryingto host apache web server on host
Physical server1: public address: 1.2.3.x -Hosting apache
i had nated the interface ipaddress 1.2.3.x --to my local network 192.168.1.1
so that from public ipaddress 1.2.3.x to could able to access my local network
Quote:
Physical server 1.2.3.X :apache configuration
#yum install httpd*
#vi /etc/httpd/conf/httpd.conf
Listen 1.2.3.x:80
Include /etc/httpd/conf/httpd1.conf
#apache tomcat connector propertise file location
JkWorkersFile "/etc/httpd/conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel debug,error,info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
|
#vi /etc/httpd/conf/workers.properties
worker.list=worker1,worker2
worker.worker1.port=8081
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
worker.worker2.port=9092
worker.worker2.host=localhost
worker.worker2.type=ajp13
worker.worker2.lbfactor=1
Tomcat
Local machine Behind Firewall
Ipaddress:192.168.1.1
cd /tomcat/apache-tomcat-6.0.26# ls
bin lib logs RELEASE-NOTES temp work
conf LICENSE NOTICE RUNNING.txt webapps STATIC
# cd static/ibe-setting-common-properties
Placed mysql server on local machine 192.168.1.2
cat ibe-settings-common.properties
dojo.build.mode=dev
db.url=jdbc\:mysql\://192.16.1.2/produc?useUnicode=yes&characterEncoding=UTF-8
db.user=root
db.password=password
cms.url=http://1.2.3.x:8080/cms/html/en_US
Can anyone help me How can i forward the apache request from ipaddress 1.2.3.x to my local machine behind firewall which i had nated to local ipaddress 192.168.1.1 .But i could able to connect the mysql server on 192.168.1.2 from 192.168.1.1.