i have at home the router Hap AC with public static ip address and in the office a small Hap mini (with private ip) connected at my desktop pc (with public static ip) and i want to redirect all traffic of the interface wlan01 (hap mini) to my home (hap AC)…what is the best secure way ? Thanks all
In general, you should setup a VPN between your two Mikrotik devices, one as server and the other as client.
Then you could use routing policy rules to redirect all the traffic from the devices connected to the wireless of the hap mini to your home’s main router.
i have setting up the openvpn server and all it works with the client with a static route to redirect all traffic trhougt vpn but at the startup the client creatre a route automatically and i need to remove every time. another problem is that after 1-2 hour the client disconnect vpn with description :nothing recived for a while… and i need to reboot for connect again
Are you using a DHCP Client on your ether 1? Maybe a PPPoE client ? Then again remove the add default route option…
Also, just for the theory, 0.0.0.0/0 is called default route or default gateway…
i’m using dhcp client on eht1, the add default route on vpn interface is enabled, i need to remove the automatically created route 0.0.0.0/0 —> 10.42.0.1 for navigate in internet…why ?