I have a computer on 192.168.0.10/24, i want everyone on my wan to connect to that server for dns requests. But only allow certian computers(mac addresses) to connect to the internet.
Hi yes it is correct.for example what i want to do is allow computer on router3(eth1 = 192.168.160.4) to see computer on router1(192.168.0.22) and vise versa. Im starting a wireless group and will have alot of nodes conencting(mikrotik and non-mikrotik). That is why i need to allow anyone on any router to see each other.
That is correct! The way you described your network, the 192.168.0.x net is your public interface. That is why there is a NAT there. Is there something else about your network I don’t know?
No problem there either. However, I may not be able to help with routing in a non-Mikrotik router.
Just continue the same routing pattern on the router that isolates your localnets from the internet, and remove the NAT from router1 and put it in that router (router0?).
I have setup a firewall/proxy server(192.168.0.14) that filters all internet traffice and also controlls port mapping and firewall rules. The firewall conencts to a dsl router.
I don’t know about that device, but if it was a Mikrotik router:
/ip route
add dst-address=192.168.2.0/24 gateway=192.168.0.10
add dst-address=192.168.3.0/24 gateway=192.168.0 10
add dst-address=192.168.200.0/24 gateway=192.168.0.10
add dst-address=192.168.160.0/24 gateway=192.168.0.10
Thanx for all the advice and answers. one more thing. i am able to ping wlan1/eth1 on router1 from router2 but cannot ping wlan1 or eth1(router2) from eth1 on router1.
Nothing needs to be changed from what I gave you above for router1, router2, and router3. Only router0 needs those route additions. And router0 must do the srcnat to your public ip.
You cannot ping, or anything else, to any ip through router1 (like 192.168.2.1, 192.168.3.1, etc) from any 192.168.0.x/24 address until you install the new routes in router0 and remove the NAT from router1.
Thank you very much for that info. I have been searching everywhere for that answers and finally got it. Thanx you for helping me out my nightmares. Thanx again