Hello
I have been trying to use my router to connect to WIFI and serve internet from WIFI to the ethernet ports. I have followed this and this articles. My problem is I don’t have WAN in my interface list as described there, so I can not select WLAN1 as my WAN port. In my interface list I have discover, mac-winbox and mactel. Is there a workaround for this?
You can create your own WAN interface list item, or use the interface WLAN1 directly with in / out-interface properties, etc
@ge0rgi, as @CZFan also said, you can create or change the WAN port yourself in GUI / Interfaces / Interface List. Doing it in CLI is possible too.
I know I can create a interface list myself, but how do I specify that the interfaces in the list are supposed to be used for WAN? Is it based on a naming convention i.e. naming the list WAN will use the interfaces in the list as WAN? How do I set the interface to out directly? I was unable to find this in the UI.
It’s just names, there’s no special behaviour related to any names. And address lists are completely optional, you don’t have to use them at all. If you want some port behave as WAN, just give it proper config, whatever your ISP uses, manual address and gateway, DHCP, PPPoE, … You may try to share what you have now and what exactly is the problem, because it’s not clear.
Treath WLAN as a “normal” interface
Quick set I Think you can do that.
Put in CPE mode - choose the connection type PPoe,DHCP e go ahead.
The problem was the devices connected to the ethernet ports had not internet access. I turns out I had a missing NAT rule chain=srcnat Out-Interface=wlan1 action=masquerade