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

which is better viagra or stendra

ingredients in viagra
generic viagra 2017
buy viagra online without a prescription

where can you get a viagra prescription online 2018

viagra alternative over the counter
buy viagra
viagra strength

kamagra oral jelly review forum wit

kamagra store reviews - kamagra oral jelly review kamagra jelly kamagra oral jelly 100mg uk

kamagra reviews does work wit

the kamagra store coupon - kamagra jelly india kamagra oral jelly kamagra oral jelly come si usa

billiga Porr DVD dzwl40

sprida fitta gallerier ">gratis Big ass Pornos 4 sätt lesbisk porr ">ebenholts offentliga avsugningar sovsal avsugning strumpa avsugningar

aasi alainen seksi orja putki arja67

pussys Cuming ">kova ydin homo anaali porno persian lesbo porno ">kiimainen musta teini seksiä valkoinen tyttö Squirt porno omegle suku puoli video


stor dildo porr Pornhub zvrj92

gay sex flytta ">gifta killar Gay Porr gratis Dick sugande filmer ">unga hriga cunt videor gratis Teen Pussy sex tamil porr serier

viagra results

I all the time used to read article in news papers but now as I am a user of internet so from now I am using net for articles or reviews, thanks to web.

natural supplement for viagra

how to buy viagra without a prescription
buy viagra online buy viagra online
who invented viagra wikipedia

kristin Kreuk Porno lior86

(Lerby) ">mammor har sex gratis videor ebony boob sex ">fitta gör ont Porr gay uncut avsugningar penisar Porr

essay writers college essays

custom essay paper essay writers
custom essays online pay someone to write my essay
best custom essay

who are the girls in the viagra commercials

viagra pfizer online
what are the differences between viagra, cialis, and levitra
is viagra generic now

viagra multiple orgasms

I want to to thank you for this good read!! I definitely loved every bit of it. I have you book-marked to look at new stuff you post…

video of viagra working

how to break up a viagra into small pieces
buy viagra online buy viagra online
can you still ejaculate when taking viagra

cialis generic online

ansia da prestazione viagra o cialis cialis medication
ordering cialis cialis generic
generic cialis

gratis sex site HD qclx40

kan du f sexuellt överförbara sjukdomar frn avsugningar ">stor dildo göra henne spruta big dick män Porr ">teen Pussy närbild gallerier mILF sova Porr svart tight byxor Porr

herb viagra review

why do you drink grapefruit juice with viagra
original purpose of viagra
what is viagra made of wiki


kamagra 100mg tablets for sale wit

kamagra 100 - kamagra shop erfahrungen 2014 buy kamagra kamagra oral

phat sexy zadok fotky rqib00

mILF vstrek prsia ">zadarmo mobiln porno strnky retro mama sex ">necenzurovan zijsk porno vids college Boy physicals Gay porno fajenie poas spnku

amn porno komiksy fvos20

zadarmo nah ierne dospievajce dievat ">sexy eben Teen Creampie horce Gay Porns ">tori ierna hardcore porno naozaj gay porno vek maika a koris


how much does viagra cost at cvs?

when should i use viagra
viagra lawsuit settlement
caverta vs viagra

funny about me bio dating site rvpq44

beste iPhone dating app 2014 ">mature singles alleen matchmaking beoordelingen casual Dating Avis ">dating wet in NY cool citaten voor dating sites chase dating blog

homemade viagra for male

what year did viagra for women come out
viagra online viagra online
which is better viagra or cialis or levitra

helem tablеts lebihbaik

tablets - tablеts list sparrow tаblеts list анализ

dissertation acknowledgements srvrddxMitsFlilezce

dissertation synonym - dissertation help dissertation outline dissertation database dissertation completion fellowship


gratis leanian Porr srbq36

seka analsex ">wW analsex bästa avsugning pornsite ">svarta tjejer som har sex p bussen asiatisk spion cam porr stora feta bröst och fitta


[url=]can i buy 10mg prednisone over the counter[/url] [url=]azithromycin online[/url] [url=]sildenafil 100 mg[/url] [url=]priligy nz[/url] [url=]tretinoin[/url] [url=]prednisone 10 mg[/url] [url=]buy hydroxychloroquine[/url] [url=]propecia[/url] [url=]buy fluconazole[/url] [url=]purchase neurontin[/url]

viagra side affects

Hi, I do believe this is a great web site. I stumbledupon it ;) I'm going to come back yet again since i have bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help others.

tegneserieporno gratis nedlasting mazn73

strmpebukse mamma kjnn ">unge tenring porno klipp stor Dick shemales jvla ">ibenholt Logg pics skitt sprute porno Polonia

dissertation binding srvrddxMitsFlilezye

dissertation coach - dissertation length dissertation synonym dissertation search dissertation examples

high blood pressure viagra

where can i get over the counter viagra
what over the counter pill works like viagra
viagra no spontaneoty

what will a viagra do to a woman

cheap generic viagra overnight delivery - buy viagra online
cocks on viagra

muvis XXX porno kwie99

bella Knox porno filmer ">xXX kjnn vidoes XXX nakne mannlige mote modeller ">gutta Munnsex store jenter ridning kuk hvor stor er min kuk

viagra 25 mg how long does it take start

buy viagra in canada
buy viagra buy viagra
how to get a viagra hard penis

is there a.female viagra

how do i get viagra or cialis in mesa az - buy viagra online
what does female viagra look like

kamagra stores wit

kamagra rendeles budapest
buy kamagra
kamagra 100mg oral jelly wirkung
kamagra online
kamagra oral jelly sale

ovliv tablеts литература

tablets - tablets vertebratene tablеts list acunto

viagra effects on male

why viagra doesnt work for me
viagra online buy viagra online
viagra wholesale price