LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-20-2014, 10:23 AM   #1
SignorX
LQ Newbie
 
Registered: Jun 2011
Posts: 20

Rep: Reputation: Disabled
Access to DDNS domain from local


Hi guys,
I installed Owncloud on my PC and I configured the remote access with a DDNS service (hopper.pw). The problem is that I cannot connect to Owncloud using that DDNS domain when I am in LAN, but I have to use the PC's local IP.
Having to change the URL every time, depending on where I am (at home or not) could bed very frustrating, especially with a smart phone.

Do you know any way to solve this problem, being able to use a unique URL to connect to my server, irrespective of my position?

Thank you very much
 
Old 07-21-2014, 11:38 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Sounds like your router doesn't like it when its external (WAN) interface is accessed from your internal network... You may need to check your router's firewall settings. Most routers see an internal IP (e.g. your smartphone on your home network with a 192.168.x.y class C private address) connecting to your router's external interface (whatever your current DHCP WAN IP is) and think that it is a IP spoofing attempt. That's technically correct, since you should never, ever see class C private IP addresses (i.e. 192.168.x.y) on your public/WAN/Internet router interface. Having said that, with proper router setups this should still work, but like I said, most routers botch that. Anyway, that's just my guess.

Can you ping your hopper.pw address from your home network? Perhaps it's only port forwarding that doesn't work, but basic ping does?
 
Old 07-22-2014, 02:14 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
You need a local DNS to resolve your domain name to the local ip.

Something like dnsmasq is ideal.
 
  


Reply



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
DNSMasq - dnslookup build.domain.local works but ping build.domain.local doesnt mustaghattack Linux - Server 2 03-01-2010 09:00 PM
NETWORKING: Assign Domain to point to DDNS for mail server worm5252 Linux - Newbie 4 02-25-2010 03:56 PM
DISCUSSION: Configuring Dynamic Domain Name System (DDNS) Server XavierP LinuxAnswers Discussion 3 07-31-2009 11:07 AM
passwd: can't get local yp domain: Local domain name not set powah Linux - Security 4 06-08-2006 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 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