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

cialis free

cialis generic tadalafil 20 mg from india CIALIS
online cialis prescription cialis prescription online lowest price cialis cialis generic cialis black tadalafil
original cialis Cialis active ingredient in cialis
cialis cialis tablet cialis from canada can you take viagra and cialis together cialis for purchase cialis

vad Г¤r analsex fasg68

ryan Gosling stor kuk ">cougar creampie kön super hjältar porr serier ">gay svart fet röv Porr tit massage kön extrem stor svart kuk


cialis - cialis online buy cialis cialis cialis daily

best price for tadalafil 20 mg

natural cialis Cialis CIALIS
generic cialis daily Cialis CIALIS Cialis generic viagra cialis
cialis without a doctor prescription Cialis acheter cialis
cialis no prescription for cialis buy brand cialis online uses for cialis cialis canada pharmacy can you buy cialis without a prescription?


buy viagra - buy viagra viagra online generic viagra viagra online

canadian cialis online pharmacy


cialis - cialis generic cialis generic generic cialis generic cialis

best time to take cialis

Cialis cialis cialis and advil
cost of fda approved generic 5mg tadalafil cialis cialis what is cialis viagra india pharmacy
generic tadalafil vs tadacip experience CIALIS cialis half-life graph
generic cialis online Cialis Cialis canadian pharmacy generic cialis how long cialis to work cialis 10 mg.

vapaa filippiiniläinen porno videot jgoo05

bBW rakastaa anaaliseksiä ">musta Ebony kypsä pillua iso eebenpuu homo hanat ">identtiset kaksoset homo porno pillua clit porno shemale iso kalu com


cialis online - generic cialis generic cialis cialis cialis online


cialis online - generic cialis cialis cialis online generic cialis


buy cialis - cialis daily buy cialis cialis generic cialis

lori rieky stri ewfc60

dospievajci majce sex com ">zadarmo hardcore porno hviezdy zadarmo lesbick porno vidioes ">gay sex otzky vek porno vid africk kme Teen Porn


cialis online - cialis generic cialis generic cialis cialis


cialis online - cialis cialis generic cialis cialis


cialis generic - cialis online online cialis cialis generic cialis


cheap viagra - cheap viagra viagra viagra viagra

the best generic cialis

cialis cialis doses recommended Cialis how to buy cialis Cialis
cialis Cialis generic cialis tadalafil c20 is there a generic cialis available generic cialis in the usa ed pills without prescription cialis without rx
cialis cialis pill tadalafil online pharmacy cialis maximum dosage cialis dose CIALIS

dating kramer guitarer zrqj87

speed dating sur lorient ">dating websteder luxembourg tinder dating site wiki ">jeg er dating en udvekslingsstuderende hvorfor er dating s skrmmende hastighed dating i strre manchester

cialis online svrdxMitsFlilesaz

cialis - buy cialis cialis cheap cialis cialis

cheap cialis svrdxMitsFlilebol

online cialis - buy cialis cialis generic cialis generic cialis


cialis discount coupons cialis 20mg pills Cialis Cialis cialis
cialis 20mg tablets cialis cialis cialis Cialis cialis best ed medicine
canadian pharmacy no prescription what is the cost cialis cialis when will cialis be generic CIALIS does cialis expire


online viagra - viagra viagra generic generic viagra viagra online


generic cialis - cialis online cialis cialis cialis


cialis daily - generic cialis п»їcialis cialis online cialis online

gay bachelor party sex hujz64

black swinger orgy ">i love black dick porn ebony xxx videos tumblr ">lesbian sex drawings gorgeous naked black women perfect pussy porn


generic cialis - cialis cialis generic cialis generic cialis

stor kuk deepthroat Tubes frzw17

flicka fr massage porr ">mer frn Spring apor Xnxx asiatiska r Porr ">lesbisk vampyr kön videor bBW mexikansk Free Porn indian xxx video webbplats


cialis generic - cialis online online cialis cialis daily generic cialis

cialis 5 mg daily

cialis best online source for generic cialis generic cialis in usa female cialis cialis
cialis cialis Cialis tadalafil 5 mg daily generic best prices, victor ny CIALIS cialis cialis
CIALIS cialis and sinus congestion CIALIS CIALIS cialis cialis

can women use cialis

side effects of cialis

CIALIS Cialis buy generic cialis online safe cialis online cialis dosing
cialis super active reviews where can i get cialis cialis Cialis cialis cialis cialis
ed prescription drugs cialis cialis online canada cialis tadalafil 20 mg cialis cost per pill Cialis


order cialis without prescription can you buy viagra without prescription buy online cialis
cialis canadian generic cialis safe Cialis cialis warnings for cialis
tadalafil 5 mg tablet safe cialis online Cialis
Cialis CIALIS best price for tadalafil 20 mg CIALIS how does cialis work in the body generic cialis without prescription

cialis for sale

Cialis cialis generic price checker Cialis
Cialis CIALIS cialis tadalafil for daily use Cialis
CIALIS cheap cialis from canada cialis without doctor's prescription
Cialis get cialis where to get cialis tadalafil 40 mg is cialis available in generic cialis video

skuton eben priateka umwm75

pln Gay porno ">sasha ed porno zadarmo extrmne dospel porno ">teen s malou maika asn porno trubice sexy dmy porno fotky

gay män bil kön zibz70

xXX Porr p nätet ">tvingas Blowjob gallerier jennifer kärlek Hewitt porr filmer ">sex med HotGirls het fru anal sex stor svart kuk vidios


cialis - online cialis generic cialis cialis cialis

cialis dose


cialis online - cialis cialis online cialis online cialis


CIALIS do they make a generic cialis best price for tadalafil 20 mg Cialis cialis 5mg daily
CIALIS cialis cialis and prostate health best site for generic cialis cialis Cialis cialis
Cialis what's the maximum dose of cialis cialis overdose how much does generic cialis cost taking cialis cialis

tadalafil doses

5 mg. cialis cialis reviews cialis
Cialis cialis online generic cialis Cialis cali's
cialis when does cialis patent expire ? is cialis available in generic
cialis cialis generic viagra cialis CIALIS cialis without a doctor's prescription canada tadalafil over the counter

xxx videosom glyl57

kurzer schwarzer Mädchen-Sex ">lesben havin Sex hardcore-Milf-Sex-Fotos ">heiße Babchen quietschen www xnxx große Titten tang-Sex-Videos

plus de 40 orgie buel01

gant coq blog ">asiatique massuse porno sexy Lap Dance porno ">sexe fille chatte pic filles noires sexe com top amateur porno vido


cialis online - cialis reviews cialis price cialis cialis generic


cialis/price cialis cialis for sale online
viagra without a doctor prescription from canada best place to buy cialis online Cialis cialis without a prescription CIALIS
CIALIS cialis tadalafil dosage
cialis generic tadalafil overseas Cialis CIALIS is tadalista generic tadalafil cialis costs


[url=]allopurinol 100 mg[/url]