Re: [plug] NAT+forwarding question

2009-01-20 Thread Johann Vincent Paul Tagle
Exactly what I'm doing. Thanks for the validation! =) On Wed, Jan 21, 2009 at 12:01 PM, fooler mail wrote: > On Wed, Jan 21, 2009 at 8:05 AM, Johann Vincent Paul Tagle > wrote: > > Ah, but my kung fu is not that good. so I'll take a crack at it using > a > > tomahawk (apache) =) > > > > Th

Re: [plug] NAT+forwarding question

2009-01-20 Thread fooler mail
On Wed, Jan 21, 2009 at 8:05 AM, Johann Vincent Paul Tagle wrote: > Ah, but my kung fu is not that good. so I'll take a crack at it using a > tomahawk (apache) =) > > Thanks to all who responded! forget kungfu.. ill teach you how to use pambansang kamao first :-> dido sevilla already gave yo

Re: [plug] NAT+forwarding question

2009-01-20 Thread Holden Hao
On Wed, Jan 21, 2009 at 8:05 AM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > Ah, but my kung fu is not that good. so I'll take a crack at it using a > tomahawk (apache) =) > If your VM supports VDE it might be better to use it. You might not need to do IPTables and VDE might

Re: [plug] NAT+forwarding question

2009-01-20 Thread Michael Tinsay
le To: Philippine Linux Users' Group (PLUG) Technical Discussion List Sent: Wednesday, January 21, 2009 8:05:59 Subject: Re: [plug] NAT+forwarding question Ah, but my kung fu is not that good. so I'll take a crack at it using a tomahawk (apache) =) Thanks to all who responded!

Re: [plug] NAT+forwarding question

2009-01-20 Thread Gabriel Briones
Hi, I've done this before using IPTables and Apache's proxy_pass, On Wed, Jan 21, 2009 at 8:05 AM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > Ah, but my kung fu is not that good. so I'll take a crack at it using a > tomahawk (apache) =) > > Thanks to all who responded! > >

Re: [plug] NAT+forwarding question

2009-01-20 Thread Johann Vincent Paul Tagle
Ah, but my kung fu is not that good. so I'll take a crack at it using a tomahawk (apache) =) Thanks to all who responded! Johann On Wed, Jan 21, 2009 at 7:15 AM, Holden Hao wrote: > > > On Tue, Jan 20, 2009 at 12:58 PM, Johann Vincent Paul Tagle < > johannta...@gmail.com> wrote: > >> Yes a

Re: [plug] NAT+forwarding question

2009-01-20 Thread Holden Hao
On Tue, Jan 20, 2009 at 12:58 PM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > Yes after I made my original post I was thinking LVS directors or Apache > proxying might do it. Not sure what Jan and D3amon mean by DNS. From > outside all will hostnames will resolve to the same IP,

Re: [plug] NAT+forwarding question

2009-01-20 Thread andrelst
Johann, Right, DNS will not really work since port forwarding is one to one mapping, and not one to many. You will still be hitting the same ip address on the internal natted IP. Rafael already mentioned squid/apache as reverse proxy role. That is one solution. Another alternative is to use a poo

Re: [plug] NAT+forwarding question

2009-01-20 Thread Johann Vincent Paul Tagle
On Tue, Jan 20, 2009 at 9:33 PM, jan gestre wrote: > Simplest solution would be to add each VM's hostname and ip address to each > server's /etc/hosts file. How does that make the webserver on the VM accessible from the Internet? Maybe I did not state my requirements clearly. One machine with

Re: [plug] NAT+forwarding question

2009-01-20 Thread jan gestre
Simplest solution would be to add each VM's hostname and ip address to each server's /etc/hosts file. On Tue, Jan 20, 2009 at 12:58 PM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > Yes after I made my original post I was thinking LVS directors or Apache > proxying might do it. Not

Re: [plug] NAT+forwarding question

2009-01-19 Thread Rafael Sevilla
On Tue, 20 Jan 2009 12:07:16 +0800 "Johann Vincent Paul Tagle" wrote: > I know about port forwarding, but is it possible to also forward > based on actual hostname being accessed? I have a machine with 1 > public address, and I have virtual machines in that box. Currently > each VM has a specif

Re: [plug] NAT+forwarding question

2009-01-19 Thread Johann Vincent Paul Tagle
Yes after I made my original post I was thinking LVS directors or Apache proxying might do it. Not sure what Jan and D3amon mean by DNS. From outside all will hostnames will resolve to the same IP, then what? Thanks Johann On Tue, Jan 20, 2009 at 12:37 PM, jumbz tayamen wrote: > LVS director

Re: [plug] NAT+forwarding question

2009-01-19 Thread jumbz tayamen
LVS directors? Johann Vincent Paul Tagle wrote: I know about port forwarding, but is it possible to also forward based on actual hostname being accessed?  I have a machine with 1 public address, and I have virtual machines in that box.  Currently each VM has a specific service running (e.g. D

Re: [plug] NAT+forwarding question

2009-01-19 Thread d3am0n
give dns in each . On Tue, Jan 20, 2009 at 12:07 PM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > I know about port forwarding, but is it possible to also forward based on > actual hostname being accessed? I have a machine with 1 public address, and > I have virtual machines in th

Re: [plug] NAT+forwarding question

2009-01-19 Thread jan gestre
DNS On Tue, Jan 20, 2009 at 12:07 PM, Johann Vincent Paul Tagle < johannta...@gmail.com> wrote: > I know about port forwarding, but is it possible to also forward based on > actual hostname being accessed? I have a machine with 1 public address, and > I have virtual machines in that box. Curren

[plug] NAT+forwarding question

2009-01-19 Thread Johann Vincent Paul Tagle
I know about port forwarding, but is it possible to also forward based on actual hostname being accessed? I have a machine with 1 public address, and I have virtual machines in that box. Currently each VM has a specific service running (e.g. DB, webserver, etc) so NAT+port forwarding sufficed. Bu