⬆️ ⬇️

Android and MikroTik

Waiting for a new, miniature MikroTik mAP 2n decided to deal with the possibility of a bundle of Android and MikroTik. As it turned out, all is not too difficult.



image





I have a source:



It's easier to connect them using WiFi-Tethering, but here everything is simple on Android, enable the access point mode and connect MikroTik to it. It is more interesting to consider the possibility of communication via USB-Tethering.

')

In general, the work requires RouterOS 6.7 and above and the presence of USB in MikroTik.

What's new in 6.7 (2013-Nov-29 13:37):

*) support Android usb tethering interface;

...


Android smartphone version 2.2 and higher.







Through the console:

/interface lte set lte1 add-default-route=yes

/ip dhcp-client add interface=lte1 disabled=no

/ip firewall nat add chain=srcnat action=masquerade out-interface=lte1 disabled=no



Winbox:
In the lte1 interface, we enable the Add Default Route:

image



Add client to IP - DHCP Client for lte1 interface:

image



Rule NAT rules:

image



image

Source: https://habr.com/ru/post/231311/



All Articles