Community discussions

MikroTik App
 
FrostyApe
just joined
Topic Author
Posts: 5
Joined: Tue Jun 14, 2022 11:05 pm

Access internally hosted services from within same network

Tue Jun 14, 2022 11:12 pm

I'm quite new to RouterOS and been struggling to access my internal hosted services from within my network
I have tried many different tutorials but whatever I put in the NAT it just doesnt work!
Already configured my NAT for internet access, and have also done the DHCP, all is working fine, however need to access a service I am hosting on 10.0.0.228:8123

Local IP range: 10.0.0.0/24
RouterOS IP: 10.0.0.10
Hosted service: 10.0.0.228:8123

Please note I don't need to access this service from outside/internet , I just need it accessible locally!
I'd appreciate it if someone can explain how this can be done! I also am quite confused about order of NAT rules , which one needs to be first or last!
 
FrostyApe
just joined
Topic Author
Posts: 5
Joined: Tue Jun 14, 2022 11:05 pm

Re: Access internally hosted services from within same network

Wed Jun 15, 2022 2:59 pm

So I managed to get it working, but strangely it is working without any rules, I just turned the device (RaspberryPi) on and off and it's working!

So the issue was I wanted to access 10.0.0.228:8123 from within my network! But it was rejecting my connection! Now magically it is working! Is this supposed to work , is it normal?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Access internally hosted services from within same network  [SOLVED]

Wed Jun 15, 2022 4:23 pm

You don't need any NAT to access a local device within the same subnet...

Who is online

Users browsing this forum: Gadulowaty and 118 guests