Am Samstag, 2. April 2005 18:07 schrieb Rob: > Hi, > > My ISP provides me with a fixed IP address and a > registered hostname. > > I use a Sitecom DC-207 that serves as a plain router, > NAT and 4-port switch, to connect three Windows PCs > and one FreeBSD PC simultaneously to the internet. > > The router gets the fixed IP address, whereas my > FreeBSD system gets IP 192.168.123.1 with a fake > hostname. > > The router is configured to redirect the usual TCP/IP > server ports to the FreeBSD PC (e.g. ports 22, 25, 80 > etc.), which makes the FreeBSD PC a kind of virtual > server for my fixed IP address. > > One of the problems I encounter is this: > Sendmail on the FreeBSD PC cannot deliver email, > because there seems to be a DNS issue, because the > FreeBSD PC does not have an official IP & hostname.
You can set the following ine /etc/mail/yourhostname.domain.mc define(`confDOMAIN_NAME', `host.name.fq')dnl host.name.fq is what ever your provider registred for your IP. Make sure there's also a correct A record for that hostname, eg. if it is spam.refuse.org then `host spam.refuse.org` must return your IP and `host IP` must return spam.refuse.org. If you don't have /etc/mail/yourhostname.domain.mc then you should cd to /etc/mail and type "make", after you edited the file "make all install restart" You also may want to define masquerading, like: MASQUERADE_AS(`yourdomain.org') MASQUERADE_DOMAIN(`internal.domain.sth')dnl FEATURE(limited_masquerade)dnl FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') -Harry > > How do I configure my FreeBSD PC so, that sendmail > thinks the PC has the official IP address/hostname > provided by my ISP, which is actually used by the > router? > Or should I follow a different configuration scheme > for achieving these goals? > > Thanks, > Rob. > > > > __________________________________ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second dates. > http://personals.yahoo.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]"
pgp4rvJ465864.pgp
Description: PGP signature