Shared hosting server + NAT + virtualhosts reachability

PDF versionSend to friendPrinter-friendly version

How to make virtualhosts visible to each other on a shared hosting server behind a Firewall.


You have a web hosting server with lots of virtual hosts running on it.
You also have a a firewall in front of the server.
The server has a private IP address assigned to the NIC of the server and the firewall provide a NAT (public_ip -> private_ip)


Some virtualhosts on the server need to connect to the public DNS name of a virtualhost on the same server.
The DNS resolution resolve the DNS name to the public IP of the server and according to the routing table the traffic is routed to the firewall that make the connection impossible for a "in-out-interface-problem".


I think that there are more than one solution:

  1. alias the public ip
  2. nat in OUTPUT chain

I prefer the iptables solution and this worked for me:

ETH0_IP=$(ifconfig eth0 | grep "inet addr" | awk '{print $2}' | awk 'BEGIN {FS=":"} {print $2}')
$IPTABLES -t nat -A OUTPUT -d $ETH0_IP_PUBLIC -j DNAT --to-destination $ETH0_IP

annotavalpisa cpqvb

first time gay porn stories


interest rate on personal loan - 400 credit score personal loan unsecured personal loan bad credit personal loan monthly payment personal loan wells fargo


Us pharmacy cialis generic medications buy generic cialis buy tadalafil india tadacip


low cost payday - mt loan get money with bad credit need for money online loans canada


instant payday loans - payday loans st louis mo payday loans nj online payday loans no credit check instant approval payday loans no credit check no employment verification

Incomonut bxocy

generic cialis ErnestLiash

dangers of taking cialis
cialis online
cialis forum review
buy cialis
how many cialis can i take in one day


personal loan bad credit - bad credit apartments bad credit loans for those with bad credit best personal loans for bad credit

squirt instructions


need money quick - need help money need money today kotak loan credit loan low personal score

amwf porn tube bydn

chocolate models nude


low interest personal loans - best online personal loans personal loans no credit check direct lender personal loans bank of america long term personal loans


lend me money - price a loan flexible loans uk active loan extremely bad credit

viagra preisvergleich 12

viagra grande 50 mg

woman anal sex video

preguntas para conocer bien ala gente fnya ">conocer mujeres faciles ">en donde encontrar mujeres solteras ">lugares para conocer gente en puebla ">conocer gente aprender idiomas ">donde conocer hombres rusos ">libros cristianos para jovenes solteros ">citas sobre los hombres ">coomeva citas por internet pereira ">mensajes de hombre solo ">conocer chicos canadienses

free young milfs sex videos

does viagra really work men

the viagra buy in

Hoariaaxova nsgog

she squirts videos

ebony porn nude

adult sex lesbian bydn

cartoon network shows porn


lendingtree personal loans - unsecured personal loans guaranteed approval personal loans co top personal loans personal loans reviews

Intatlysils bkpgm

Bleancecluffnip llirl

irlanda viagra barata

cheap online generic viagra

busco mujer soltera en barquisimeto ">hombre de solo java ">7 cosas que nos ense una mujer soltera ">citas en formato apa online ">hoteles para solteros en cancun ">conocer chicas en madrid whatsapp ">quiero conocer mujeres solteras ">mujeres jvenes solteras ">conocer gente x facebook ">busco mujer soltera en chimbote ">hombres con hijos solteros

gaufargeato scokt

postales de mujeres solteras y felices bydn ">citas por internet para licencia conducir estado de mexico ">conocer hombres portugueses ">aplicaciones para conocer personas en chile ">mujer soltera con dos hijos ">citas en linea para licencia de conducir tabasco ">mujeres solteras y exitosas ">mujer busca hombre en bs as 2016 ">aplicacion para conocer gente que esta cerca ">preguntas psicologicas para conocer a un hombre ">tres mujeres solteras

agencias matrimoniales en murcia bydn ">citas en linea san pedro sula ">mujeres solteras cuautitlan izcalli ">web conocer gente gratis ">preguntas para conocer a la gente ">agencias matrimoniales filipinas ">conocer mujeres solteras colombia ">hombres solteros para una relacion seria ">conocer chicas de peru gratis ">donde conocer gente importante ">conocer adolescentes gratis


need for money - get a tax loan online payday loans in canada limited company loans expressfinanceloans

eventos para conocer gente en quito ">sistema de citas dmv nevada ">mujeres solteras en cajamarca con numero de celular ">la mejor manera de conocer gente nueva ">agencias matrimoniales bogota colombia ">conocer chico de almendralejo ">sistema de citas embajada alemana ">paginas web conocer gente ">chatear para conocer mujeres ">secretos para ligar con mujeres ">citas por internet embajada de panama en cuba

female viagra walmart

sildenafil online male viagra
viagra walgreens
hims ed canadian pharmacy viagra
buy real viagra online
generic viagra online for sale pfizer viagra - whats viagra

Status sleazy sldnfl no instruction

viagra 10mg or 20mg memberlist - viagra for sale
viagra 10mg cost users browsing this forum
viagra without doctor
- viagra generic levitra viagra
viagra trial

rolig dejting presentation fnya

dating ariane 2 fnya

generic viagra best prices - canadian pharmacy viagra - cheap viagra uk next day delivery - viagra overseas - Viagra Sample Pack - onlineantibiotic overnight - rayrx online drugstore - antibiotics for sale 24 hour delivery - northwest pharmacy canada - levothyroxine mexico - ez online pharmacy buy viagra usa

conocer chicas lorca ">mujer busca hombre para amistad jaen ">mujeres solteras en waukegan il ">como coquetear a un hombre de lejos ">mujeres y hombres y viceversa citas barranco y violeta ">hoteles para solteros en menorca ">formas para ligar a un chico ">como conocer mujeres solteras en costa rica ">aplicaciones para conocer gente en todo el mundo ">un hombre solo es solo el comienzo sancor ">sitio de citas guatemala

busco hombre soltero en espaa ">busco mujer soltera para casarme ">shcp citas en linea ">mujeres solteras en durazno ">ser soltero a los 40 ">sacar citas en linea ccss ">pginas citas gratis ">mujeres solteras en el estado de mexico ">citas por internet en bolivia ">conocer gente en el camino de santiago ">conocer gente amistades

conocer chicas de lima por facebook bydn ">citas en linea gratis sin registro ">citas por internet aguascalientes ">blog para conocer gente ">conocer chicas de 40 aos ">app para conocer chicas en europa ">donde conocer mujeres alemanas ">mejores aplicaciones para conocer gente nueva ">donde conocer chicas cdmx ">mujeres solteras en ecuador guayaquil ">estrategia para ligar hombres


guaranteed approval credit cards with $10000 limits for bad credit - bad credit car dealers bad credit car dealerships bad credit car dealerships near me bad credit credit cards guaranteed approval

is iv

comprar is en puerto rico