NAT/PAT erotisi

Christos Nouskas nouskas at freemail.gr
Thu Mar 17 20:55:15 EET 2005


Richard Anderson wrote:
> Ok now, Here is the deal:
>
> 10.0.0.1:80
> 10.0.0.2:80
> 10.0.0.3:80
> 10.0.0.4:80
> 10.0.0.5:80
>
> ALL the above are running Different Web Servers. We use NAT and
> especially PAT for the internal unregistered ip addresses to be able to
> be accesses by the Outside world(Internet).
>
> We want to set a port redirection rule that any packets that come to
> WANIP:80 be redirected to each of the computers(Web Servers). But how
> would the router know which packet is addressed to which computer since
> the router only has 1 ip address and every port can be forwarded to
> only 1 ip address?
>
> We dont want to set the router to listen to other ports cause that
> would mean that the visitor would need to http://WANIP:port instead of
> http://WANIP.

 Ok, here's the answer: you crontab a script that rotates the redirections 
'round the clock and every server gets a share of internet taste for 288 
minutes a day.

> ps. Eiani *ligo* offtopic alla me endiaferei. Sorry episis gia ta
> agglika alla variomoun na ta xanagrapso sta ellinika....

 No luck on the newsgroups, huh? Try http://www.dimoskopisi.gr/main.php


-- 
##### # #####
   #######	"We are Pentium of Borg. Division is futile.
##### # #####	 You will be approximated."




More information about the Linux-greek-users mailing list