[EMAIL PROTECTED] wrote:
Ive got a number of windows machines running behind a Freebsd
gateway to the Internet. The gateway is accessible via an entry at
What I'd like to do is be able to get to the internal machine (named
winmachine1) from the Internet using a construct such as:
I currently run no name server.
Can it be done?
Yes and no.
Do I need to run my own name server?
You don't need to, but it generally makes things easier (as you have
direct control over things)
You probably have ipfw running on your firewall. You can use ipfw's
port forwarding feature to allow certain ports to appear to be on
bstar.ath.cx, while they are actually connecting to winmachine1.
You simply make a DNS entry that says that winmachine.bstar.ath.cs
is the same as bstar.ath.cs
That's the 'yes' part of the answer above.
The no part is that you can't use this method to forward ALL ports.
If you want to have ports open on bstar.ath.cs as well, they won't
be available on winmachine.bstar.ath.cx.
To (hopefully) make it a little clearer:
If you want to run a webserver from winmachine.bstar.ath.cx, and
that's it, and bstar.ath.cx doesn't run a webserver, you simply
forward port 80 from bstar.ath.cx to your internal machine.
If you want to run a webserver on both bstar.ath.cx and the
windows machine you either:
a) can't do it
b) have to move one of the webservers to a nonstandard (unused)
port - such as 8080
Read the man pages for ipfw, and search the net for ipfw port
forwarding. I'm sure you find a lot more details.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message