Community discussions

MikroTik App
 
patrikh1410
just joined
Topic Author
Posts: 2
Joined: Fri Oct 28, 2022 12:07 am

Cannot access WAN IP from LAN

Fri Oct 28, 2022 12:14 am

Hi,
i am running my own server for datahosting, webhosting and Nextcloud. To access these services remotely, i port-fordwared ports 80 and 443 for webhosting and from WAN it is working fine. When i try to access my web on lan through WAN IP, the connection gets refused. My WAN is dynamic so i have DDNS from NO-IP (something.ddns.net). I found one solution, i added my WAN domain to router´s static DNS record and it is working, but i have one domain primary for webhosting and Nextcloud is running on differend PC (something.ddns.net:8443) so i cannot make it with static DNS. I was looking for solution on this forum and entire internet, but nothing worked for me.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2866
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Cannot access WAN IP from LAN

Fri Oct 28, 2022 9:08 am

There is a very usefull function of forum called "Search" search.php?keywords=mikrotik+harpin

and then
viewtopic.php?t=189249
 
patrikh1410
just joined
Topic Author
Posts: 2
Joined: Fri Oct 28, 2022 12:07 am

Re: Cannot access WAN IP from LAN

Fri Oct 28, 2022 11:27 am

Yes, but nothing worked for me :/.
 
erlinden
Forum Guru
Forum Guru
Posts: 1921
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Cannot access WAN IP from LAN

Fri Oct 28, 2022 11:38 am

Yes, but nothing worked for me :/.
Then it's time to start an topic (check) and share your config (not checked yet :D ):
/export file=anynameyoulike (don't forget the code tags and remove any personal infogrmation)
 
paulz
newbie
Posts: 27
Joined: Wed May 25, 2022 1:25 pm

Re: Cannot access WAN IP from LAN

Fri Oct 28, 2022 12:33 pm

I think you are in a loop here. It is like when you cannot access/test the local VPN by dialing the VPN from local.
Even if that is not the case, When you are in Rome... act like a roman, meaning when you are local address, access the forwarded services from their local IPs...
You are local going to internet and coming back to the service that you are forwarding from a... local server, right?
You... are forwarding the service from a local server trough the router, right?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19125
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Cannot access WAN IP from LAN

Fri Oct 28, 2022 2:13 pm

Who is online

Users browsing this forum: Amazon [Bot], cddaraa, yosmithy and 27 guests