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.

Situation

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)

Problem

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".

Solution

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}')
ETH0_IP_PUBLIC="YOUR.PUBLIC.IP.ADDRESS"
$IPTABLES -t nat -A OUTPUT -d $ETH0_IP_PUBLIC -j DNAT --to-destination $ETH0_IP

Cialis

cialis walmart cialis cialis
when is cialis going generic meds online without doctor prescription cialis Cialis tadalafil india
buy cialis with online prescription Cialis Cialis
Cialis cialis buy cialis cialis cialis prices cheap cialis online

best online canadian pharmacy

canada pharmacy online 24 hour pharmacy
canada pharmaceuticals online generic pharmeasy
london drugs canada https://canadianmpharmacy.com/

grsvrhnkfsnbssbdsjamerbvh

viagra online https://canadianpharmacyfda.com/ - viagra viagra viagra online viagra

genuine cialis

Cialis cialis cialis CIALIS generic cialis no doctor's prescription
tadalafil tablets buy cialis online - without prescription cialis canada cialis how much cialis to take how long does cialis work? cialis sale online
cialis cialis canadian pharmacy no prescription cialis overdose of cialis cialis

masowa orgia trib12

kreskwka sex samochodu https://tourstad.online/gejw-filmy-porno-z-aktywnym-obowizkiem/ ">gejw filmy porno z aktywnym obowizkiem mamuki tribbing porno https://tourstad.online/wielki-kutas-xxx-filmy/ ">wielki kutas xxx filmy gorce shemale porno https://tourstad.online/niesamowite-kutasowe-porno/ darmowe lesbijskie twarz siedzi porno

ngbfhfgMitsFlileyqv

generic cialis https://valcialisns.com/ - cialis generic generic cialis online cialis cialis generic

sgduyvjglsjdsadevytu

generic cialis https://cialisovnnc.com/ - cialis generic online cialis cialis generic cialis

cialis viagra interaction

cialis and tinnitus cialis generic us generic cialis pharmacy
CIALIS CIALIS tadalafil powder for research cialis ed pills without a prescription
can you buy viagra without prescription tadalafil dose Cialis
most trustworthy low cost source for generic cialis cialis ordering cialis online Cialis how much is cialis difference between cialis and viagra

jybdhsfezbsfdfegififleconnaredndv

cialis 20mg http://pharmcilisa.com/ - cheap cialis cialis 20mg cialis online cialis daily

is there a generic for tadalafil

Cialis cialis where' can i buy cialis
Cialis Cialis cialis reviews generic cialis daily cialis
when is cialis going generic cialis 5 cialis
buy cialis canada online cialis cialis commercial buy tadalafil cialis (tadalafil should i take cialis every day?

vek pro ortky afdx15

hladk Gay porno https://epiji.info/dieva-pusy-kurva/ ">dieva pusy kurva xn porno strnky https://epiji.info/eben-zadok-fucked-pics/ ">eben zadok fucked pics www africk maika pics com https://epiji.info/chud-anlny-sex-trubice/ chutn ierne porno vide

online doctor cialis

cialis CIALIS cialis cialis and high blood pressure what is tadalafil 20mg
cvs cialis cialis for overactive bladder discount on cialis Cialis CIALIS cialis cialis
Cialis cialis commercial viagra and cialis CIALIS cialis review generic cialis from canada

hwyhnvxolojelgbsloHidlyfclcw

viagra https://emtpartsstore.com/ - buy viagra buy viagra viagra online viagra

viagra or cialis

Cialis buy generic cialis cialis online pharmacies
cialis (tadalafil cialis canadian pharmacy generic cialis buy cialis generic cialis without a prescription
CIALIS has cialis gone generic cialis bit
overdose of cialis cialis cialis non-prescription cialis what is the half life of cialis mail order cialis

buy cialis online usa

goodrx prices for cialis generic cialis daily use is cialis effective
cialis CIALIS cialis 30 day sample how to buy cialis in canada cialis copay assistance
cialis cialis Cialis
cialis cialis forum cialis or levitra cialis cialis wiki best generic cialis pharmacy

buy cialis

ningrgtrggififleconnarednvm

п»їcialis http://genericcialls.com/ - cialis reviews generic cialis buy cialis cialis

cialis everyday use

how many 5mg cialis can you take at once buy levitra without a prescription buy cialis online with no prescription
cialis cost per pill discount on cialis generic names for cialis and viagra cialis.com discount cialis online
cialis cialis cialis
purchase cialis cialis cialis for sale online cialis where to buy tadalafil cialis

ningrgtrggififleconnaredmsi

cialis pills http://genericcialls.com/ - generic cialis cialis reviews generic cialis buy cialis

cialis

viagra-cialis tadalafil 20 mg for sale cialis 20mg directions
cialis cialis buy cheap cialis buying cialis in mexico generic cialis tadalafil india
Cialis cialis dosage cialis free sample
cialis cialis dosage for tadalafil cialis without prescriptions when will cialis be available over the counter interactions for tadalafil

norme bite dans minuscule chatte dcae94

adolescent porno snapchat https://panarymo.co/meilleures-lesbiennes-noires/ ">meilleures lesbiennes noires gratuit belle BBW porno https://panarymo.co/gratuit-jeunes-vidos/ ">gratuit jeunes vidos pais noir bne chatte https://panarymo.co/grosse-queue-noire-et-cul/ gorge profonde pipe Job porno

fwprgploimmittericxtnn

cialis buy https://cialishwzbm.com/ - cialis online cialis online online cialis buy cialis online

vek ierny zadok amatrov ehpf40

sienna Zpadn porno filmy https://furagabi.co/vek-tlst-koht-tumblr/ ">vek tlst koht Tumblr ierna maika je v prdeli tvrd https://furagabi.co/po-sprcha-porno/ ">po sprcha porno koea so stojaikom vek pro https://furagabi.co/hot-milf-maika-sex/ nah Grils

cialis generic svrdxMitsFlileezo

cialis http://www.ciallisonline.com/ - cialis generic generic cialis cialis buy cialis

how long is cialis effective

cialis cialis cialis
cialis ordering cialis online can women use cialis Cialis cialis
viagra with cialis cialis cialis
cialis grapefruit interaction cialis cialis cialis buy cialis over the counter cialis

ningrgtrggififleconnaredwaq

online cialis http://genericcialls.com/ - cialis online cialis reviews cialis online cialis online

sexy mama sex trubice iigo44

transformtory Gay porno https://yhazu.info/amatr-lesbick-sex-na-verejnosti/ ">amatr lesbick sex na verejnosti lesbiky Sex shemale https://yhazu.info/ierna-ppl-sex/ ">ierna PPL sex mlad zijsk Teen Sex https://yhazu.info/sexulne-trubice/ coura miluje vek penis

ningrgtrggififleconnaredzli

cialis daily http://genericcialls.com/ - cialis price online cialis cialis 20mg generic cialis

womxrnjq

buy cialis

appoint cialis welfare cialis buy irish cialis odd

kypsä japanilainen suku puoli kuvia upof08

anaali seksiä tiedot https://fi.ujodiv.co/lesbo-ruiskuttaminen-orgia-porno/ ">lesbo ruiskuttaminen orgia porno ilkeä musta tyttö orgia https://fi.ujodiv.co/lesbot-sormitus-toistensa-pillua/ ">lesbot sormitus toistensa pillua homo anaali seksiä vinkkejä https://fi.ujodiv.co/amatoeoeri-porno-torrentit/ iso suku puoli isot tissit

CIALIS

cialis at cvs cialis cialis how quickly does cialis work cialis
cialis cialis online for sale cialis CIALIS CIALIS viagra, cialis, levitra Cialis
cialis Cialis cialis www cialis.com cialis CIALIS

grsvrhnkfsnbssbdsjamerbmt

generic viagra https://canadianpharmacyfda.com/ - viagra online viagra generic viagra viagra generic

cialis (tadalafil)

cialis cialis extra dosage cialis generic without prescription
lowest price on generic cialis 40mg cialis cialis 30 day sample can i take 10mg cialis every other day tadalafil generic
cialis cialis cialis
metoprolol cialis www.cialis.com tadalafil does medicare cover cialis cialis generic viagra cialis and levitra

cialis extra dosage

generic drug prices cialis online from canada cialis super active reviews benefits of cialis daily cialis
CIALIS Cialis buy cialis from mexico CIALIS buy cialis online lowest prices Cialis Cialis
cialis how to take cialis cialis without a doctor prescription usa cialis cialis 5mg daily Cialis

franska lärare Porr boia68

mamma och pojke kön tecknad https://wucuq.info/busty-anime-avsugning/ ">busty anime avsugning blyg kärlek Porno https://wucuq.info/mamma-sis-porr/ ">mamma SIS Porr tonring x kön https://wucuq.info/gay-orc-porr/ jävla mamma i duschen

pharmacy online no prescription

canadian viagra pharmacy
canadian pharmacies online publix pharmacy online ordering
walmart pharmacy online https://canadianmpharmacy.com/

best generic cialis

Cialis cialis is there generic tadalafil
cialis does cialis lower blood pressure does generic tadalafil work cialis cialis generic 5mg
Cialis buy cialis online without prescription cialis
viagra and cialis online generic cialis safe cialis prescription online other uses for cialis cialis cialis

is cialis a prescription drug?

cialis tadalafil dosage lowest price cialis
cialis official site can you take viagra and cialis Cialis cialis Cialis
CIALIS expiration date on cialis CIALIS
Cialis cialis ed meds online without doctor prescription Cialis where can i buy cialis over the counter cialis

ecrfvxlgb

high sex videor athe81

sexig röv flickor Porr https://zapehico.co/berusad-fru-koen-video/ ">berusad fru kön video mycket gammal gay Porr https://zapehico.co/naken-guls/ ">naken GULs nya svarta fitta röret https://zapehico.co/stor-kuk-i-fittan-koen/ svarta lesbiska knullar med rem ons

ein schwarzer Schwanz cdok28

revin-Videos xxx https://zupob.info/www-pornovideos/ ">www Pornovideos klassisch reife lesbische Pornos https://zupob.info/schwarze-maedchen-porno-videos-kostenlos-herunterladen/ ">schwarze Mädchen Porno-Videos kostenlos herunterladen rastplatz für schwulen Sex https://zupob.info/auslaendische-pornoroehren/ traci lord Porno-Pic

cialis

generic cialis canada Cialis cialis
cost of generic cialis Cialis cialis is cialis over the counter? Cialis
cialis viagra/ cialis Cialis
how cialis works Cialis cialis samples free cialis best place to buy generic cialis online coupon for cialis by manufacturer

normal cialis dosage

cialis when can cialis become generic cialis generic
tadalafil generic best prices india CIALIS cialis official cialis website 5 mg cialis
CIALIS cheapest generic cialis CIALIS
cialis what is the price of generic cialis in canada generic name for cialis cialis for purchase cialis Cialis