LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2014, 07:44 AM   #1
leech
LQ Newbie
 
Registered: May 2014
Posts: 4

Rep: Reputation: Disabled
web/dns and user behind the same NAT, websites unavailable


See this photo (diagram)

http://ovh.to/hNxGcL9


I have NAT'ed www/dns services to the server behind the NAT (in our office). Websites are available from internet- ok.
But when connecting to the same websites from the same office network. I am redirected to the router control panel, but not to the websites.

Last edited by leech; 05-19-2014 at 07:45 AM.
 
Old 05-19-2014, 07:50 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
What happens if you make manual host entries in the workstations and point them to the internal IP of the www server?
 
Old 05-19-2014, 07:57 AM   #3
leech
LQ Newbie
 
Registered: May 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, I did consider this solution, but I wander what could be the cause of it. The router is Ubiquiti Edge - Vyatta based. There are many hosts in the office (plus wifi smartphones), so entering manually the IP's I think not the best option. For example if the laptop is used both - in office and at home. The websites will be not avalable in both locations.
 
Old 05-19-2014, 07:59 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
Ok, so it's certainly a router issue rather than network, as for that particular brand of router I haven't a clue. Sorry.
 
Old 05-19-2014, 08:03 AM   #5
leech
LQ Newbie
 
Registered: May 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Many thanks for your help and very quick response anyway! I will keep an eye on this thread, maybe somebody who had the similar issue will come with solution.
 
Old 05-19-2014, 08:05 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
I'm sure it's something to do with the way the router is handling the NAT on traffic it's seeing "inside".

When you try to resolve/ping your www server I'm guessing you're seeing the router public IP?
 
Old 05-19-2014, 08:12 AM   #7
leech
LQ Newbie
 
Registered: May 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes, from behind the NAT websites are resolving to the public IP.

Host Loss% Snt Last Avg Best Wrst StDev
1. 88.119.xxx.242 0.0% 8 0.6 0.6 0.6 0.8 0.0

The router control panel is running on 443 port, not 80, but still webbrowser redirects to 443
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing user information / authentication across DNS / Mail / Web server vasanthi Linux - General 1 10-18-2006 06:39 AM
can NAT makes certain websites timeout? danielw Linux - Networking 4 04-25-2005 06:45 AM
SendMail DNS: Service unavailable nutthick Linux - Newbie 1 01-24-2005 09:49 AM
dns unavailable through nat jobano Linux - Networking 4 07-05-2004 06:44 AM
Manual DNS entries unavailable on MDK 10 FTP install Kujila Mandriva 0 05-08-2004 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration