On Fri, 18 Aug 2000, George Lenzer wrote:
> I finally got port forwarding working with my IP Masq
> setup a few weeks ago. But... I have a few problems.
> Here is my situation:
>
> 1. My static IP is associated with my domain in the
> following ways. Example (These aren't the real addresses):
>
> Internet Address: 205.50.50.1
>
> resolves to
>
> www.snoopy.com
> mail.snoopy.com
> snoopy.com
>
> 2. Internally that machine is known as 192.168.1.6 and
> pigpen.snoopy.com
>
> 3. Using port forwarding, I have my web and mail server
> ports on the firewall (externally 205.50.50.1 and
> internally 192.168.1.6) being redirected to 192.168.1.2.
> Internally 192.168.1.2 is known as woodstock.snoopy.com.
>
> The problem I am having is that when I try to use access
> any URLs that are symlinks in /home/httpd/html, the
> server tries to access woodstock.snoopy.com. Since this
> name isn't registered on the Internet, my external users
> can't access these URLs.
>
Try changing the name of the web server in your httpd.conf file.
ServerName www.snoopy.com
>
> Something similar happens with mail. If mail is sent to
> [EMAIL PROTECTED], the POP3 server rejects it because it
> wants to see [EMAIL PROTECTED]
>
On you mail server, edit /etc/sendmail.cw, and add snoopy.com to it.
(If your config is not set up to use the sendmail.cw file, you will have
to edit /etc/sendmail.cf and add Cwsnoopy.com in the local information
section.) If you don't have a /etc/sendmail.cw, check /etc/mail. If you
are not running sendmail, then someone else will have to tell you how to
add domains for your mail server. Basicly, what you are telling your mail
program is that it is the mail server for another host. This is a common
setup, where one machine handles mail for all the machines on the
network. You can set things up so that all mail to any local machine ends
up on one machine.
>
> Any ideas about how I can resolve this? I have considered
> asking my ISP to add woodstock.snoopy.com to DNS in addtion
> to the other names. I have also considered renaming
> woodstock.snoopy.com to www.snoopy.com.
>
> If there are any good resources regarding this, please
> let me know.
>
> Thanks,
> George
>
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list