Link to home
Start Free TrialLog in
Avatar of Thomas-Norway
Thomas-NorwayFlag for Norway

asked on

Loopback Vyatta

Hello experts,

I have a Vyattat wich i have installet pretty much out of the box.

My Vyatta inside interface:  192.168.1.1
Vyatta Outside interface:  "my external IP"

I have created a DNS record that points server.mydomain.com to my external IP.
On Vyatta i have a nat rule that forwards port 80 to my internal webserver.

Problem:
I cannot reach my webserver from LAN, using my server.mydomain.com or, "my external IP adress"
Is it any way I can enable Loopback or some in my Vyatta router to be able to use my external ip from inside(LAN) to enter my website on the local webserver?

Other information:
If I type my webservers internal IP from INSIDE(lan) into the web browser, it works fine.
If I type in my external IP from OUTSIDE, it works fine.
If i type in in "server.mydomain.com" from OUTSIDE, it works fine.

I hope I was able to express my problem properly. Thanks!


ASKER CERTIFIED SOLUTION
Avatar of Ross-C
Ross-C
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well... Vyatta is Linux, so you can install DNS in Vyatta and attach internal IP to name of webserver.
Avatar of Thomas-Norway

ASKER

Thanks.  That solved my issue.  But is there any way to enable loopback in Vyatta?  I have had som cheap linksys routers supporting loopback


Please see the last post of following thread for good explanation on Nat settings involved , most people including me use some internal dns records as a workaround. This also explains why it doesn't work out of the box like a linksys for example.

http://www.vyatta.org/forum/viewtopic.php?t=1427