I'm having issue where I can't target the ip and have things redirected properly.
I want to set up the forwards so that I can have local access, but I can find no information on how to achieve this with OpenWRT.
for arguements sake...
internal net 1 192.168.0.*
internal net 2 192.168.5.*
external IP 156.8.34.3
At the moment I go to any domain that targets the external IP, I can't access any of it.
I visit www.example.com and it just says that it can't be reached and no response...
I visit abc.example.com that has a local DNS target from my DNS server to target 192.168.5.8 and I get it just fine.
From outside the network, both work just fine.
How can I set up external IP targeting for internal to actually target back to the required internal IP addresses please?
Maybe what you want is Nat loopback (aka reflection aka hairpinning).
On the Advanced Settings tab of the port forward you can enable it.
It usually is enabled but I think only for the LAN zone, for other zones you have to explicitly set it as Reflection zone
But making a DNS address entry with he local IP address is also a viable option as pointed out by @lleachii
Thanks, I'll have a look into that.
Okay, that was not the problem, but it was where the problem was..
The problem was that it was set to INTERNAL IP ADDRESS instead of EXTERNAL IP ADDRESS... Good to have been reminded. Thanks, that did resolve it all I hope.
Will be able to check all the domains later. Now I just need to fix all these DNS queries..
The whole issue with having the DNS targeting the local IP for everything means that when I'm performing actions to check the DNS, it will always just target locally when doing it.
I have all DNS requests targeting local servers, only those DNS servers are allowed to perform external DNS queries.
Thanks for the suggestions Ileachii, and yes, if I wanted to do all the DNS options I could just target the domains to be targeting the right IP, but that does not work in my setup properly.