Networking Forums

Networking Forums > Computer Networking > Linux Networking > access public IP number from the LAN

Reply
Thread Tools Display Modes

access public IP number from the LAN

 
 
templeton
Guest
Posts: n/a

 
      01-20-2004, 03:40 PM
can U explain that again?
my windows\hosts looks like

pop.mydomain.it 192.168.1.69

ana I'm outside I have to add
#pop.mydomain.it 192.168.1.69

on the DNS I have a CNAME for pop.mydomain.it pointing to mydomain.it
which resolves to the correct IP.

I understand U told me to try on the hosts file something like
pop 192.168.1.69
but it doesn't work.

thanks for further help

david
--------------------------------------

Remove the domain name and extension from the hosts file. You are
assigning
a real domain to a private subnet.

You mail access should be set as if you were always outside your
domain...
so the address is smtp.domain.ext. or pop3.domain.ext in the mail
client...
the dns CNAME should direct to the domain name, as should the dns mail
server setting, not the private subnet.

"templeton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi,
> I'm running a linux (mandrake9.0) web and mail server on a old pentium
> 300. the server is in a LAN with 2 windows pc's. all three machines
> goes to a small 5 port hub form where a line is going to the router
> ADSL Zyxel 642R. on the router NAT is active and my local pc's are
> 192.168.1.xxxx; the server is 192.168.1.69; the problem is I use the
> laptop both home and around, and eudora is configured to use
> smtp.mydomain.it; when I'm outside smtp.etcetc resolves to my actual
> public IP and works fine; but when I'm home I've to edit the
> windows\hosts file to enter a line
>
> 192.168.1.69 smtp.mydomain.it
>
> to let eudora (and explorer) contact the server at the correct IP.
> obviously every time I move (several time in the day( I have to
> comment that line to let eudora resolve the external IP again).
> The router defaults every port to the IP of the server.
> Is there any way to configure everything so that I can access the web
> and the mail even from inside my LAN using my public IP?
>
> thank you for your help and your time
>
> david



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DC access with NAT and Public IP UWide User Windows Networking 5 01-10-2008 07:26 AM
Public Internet Access Joel Wireless Networks 8 10-15-2006 09:54 PM
Public Access Wireless Hearaoi Wireless Networks 2 03-05-2006 05:09 AM
Number of access points Bjørn Petersen Wireless Internet 1 02-17-2004 11:02 PM
access public IP number from the LAN templeton Linux Networking 1 01-08-2004 01:53 PM



1 2 3 4 5 6 7 8 9 10 11