fcv
01-20-2002, 05:53 PM
Hi
I have a small LAN with one public ip and several hosts with private ips. I'm using natd to share my cable connection to the lan and everything works pretty smoot (OS X 10.1.1). I run apache on the public ip and on one of the internal machines. My public IP also runs bind (DNS SERVER) and it's set up so that:
www.mydomain.com -> public ip
xpto.mydomain.com -> private host (192.168.0.32)
Does anyone know a way to allow people on the net to access xpto.mydomain.com?
What i do know is that any outside browser would get a reply containing 192.168.0.32 from the dns server and then attempt to connect to that ip, which OBVIOUSLY results in a connection failure.
I dont mind having xpto running apache on another port, but i want to avoid having to specify that port from the outside (like http://xpto.mydomain.com:79 - NO GOOD)
So i guess a tool that picked up a request for host xpto and port 80 and forwarded it to host 192.168.0.32 port 79 would be what i need.
I've seen such tools on linux and openbsd but not on x (freebsd).... :( Any ideas?!?!?!
I have a small LAN with one public ip and several hosts with private ips. I'm using natd to share my cable connection to the lan and everything works pretty smoot (OS X 10.1.1). I run apache on the public ip and on one of the internal machines. My public IP also runs bind (DNS SERVER) and it's set up so that:
www.mydomain.com -> public ip
xpto.mydomain.com -> private host (192.168.0.32)
Does anyone know a way to allow people on the net to access xpto.mydomain.com?
What i do know is that any outside browser would get a reply containing 192.168.0.32 from the dns server and then attempt to connect to that ip, which OBVIOUSLY results in a connection failure.
I dont mind having xpto running apache on another port, but i want to avoid having to specify that port from the outside (like http://xpto.mydomain.com:79 - NO GOOD)
So i guess a tool that picked up a request for host xpto and port 80 and forwarded it to host 192.168.0.32 port 79 would be what i need.
I've seen such tools on linux and openbsd but not on x (freebsd).... :( Any ideas?!?!?!