{ linked fromNew User Pathway To Success Config Success-viewtopic.php?t=182373}
QUESTIONS ALL NEW ADMINS ASK THEMSELVES.
1. Do you ever have those days where every time you touch the bridge config and it burps and you ask yourself the same question,WHY DIDNT I USE SAFEMODE?
2.冰箱我想如何设置一个新的子网和move this away from 192.168.88.1 without locking myself out?
or as buckeye put it...."It's avoiding the "sawing off the limb your are sitting on"problem.
ANSWERS.
3.USE SAFE MODE.USE SAFE MODE.USE SAFE MODE.
4. Do NOT remove the admin access to the router rule in the input chain - DANGER, especially with " drop all else" rules in play!
4. One recommended approach that works well, and isthe subject of this article,is to give yourself a safe way out of such a dilemma and that isan independent configuration access OFF the bridge. This can be used to access the router after locking yourself out on bridge changes, or actually to conduct all configurations if preferred.
GUIDE:How To Config The MT Device,OFFThe Bridge
CONCEPT
-ISOLATE ETHERPORT { remove from bridge }
-ADD INDEPENDENT IP ADDRESS to ETHERX
-ADD ETHERX TO 'TRUSTED' INTERFACE LIST { trusted=usually contains a management vlan or the subnet where the admin PC resides and bad actors,careless users of the internet, & guests doNOTreside -ensures part of mac server winbox-mac server setting!!}
-ENSURE ACCESS TO WINBOX (INPUT CHAIN) { INPUT CHAIN RULE FOR ETHERX }
-ENSURE ETHERX IP Address is included if you have ALLOW settings in IP services for winbox.
-USE MANUALLY SET RELATED IPV4 ADDRESS TO ACCESS FROM PC
(see example at bottom of page)
SETUP OF WIRED AND WIFI DEVICES
(common to Routers/Switches/APs using RoS - where a spare port or spare wlan/vwlan may be available).
1. Remove spare etherport (lets use 5) from the bridge and in the case of a capac (two ports - use ether2).
2.Give it a new nameether5-access
3. Give it an IP address that does not conflict with any other subnets on the LAN or any remote subnets etc.... lets use192.168.5.1/24network 192.168.5.0
4. Add ether5-access to thetrusted interfaceas a list member. It could be a trusted vlan, could the management vlan, could be LAN etc...... (router only)
5. For the Switch/AP scenario, if not already done, create an interface calledManageor base etc. (you may already have one so can just use that).
-add ether5-access as a list member (switch)
-add vwlan-access as a list member (AP)
-add vlan XX (the trusted or management vlan or subnet) as a list member (normally should already exist)
6. Add the interface listManageor whatever it is called on your device as the entry inIP neighbours
7. Add the interface listManageor whatever it is called on your device under tools mac serverWINMACSERVER
Note
:On an MT Device not doing routing,normally, the ONLY interface required is the "Manage" interface (no wan, no lan, no IP DHCP, no firewall rules etc.)
NOTES:
A. If you have delineated subnets/IP addresses in the IP Services of WINBOX, be sure to add 192.168.5.0/24 to the "Available From" column.
B. If you have delineated subnets/IP address in System Users, be sure to add the 192.162.5.0/24 to the "Allowed Addresses"
{In both cases, A and B. you can use the single IP address you intend to use for such access, if desired, such as 192.168.5.5.}
WIFI ONLY
8. Define a Virtual WLAN, lets callvwlan-accessfrom an existing WLAN.
9. DO NOT attach it to the bridge.
10. Provide the usual wifi config parameters, SSID, Security profile etc........
11. Ensure steps 3,5-7 are completed above.
DONE!!
Note1: It is assumed for switches/APs that an IP route has been created with dst-address=0.0.0.0/0 with gateway being the IP gateway of trusted subnet/vlan
Note2: For Routers, it is assumed that the trusted interface list is used to allow the admin access to the router (input chain) and thus this new connection will automatically be included, otherwise you will need to create in input chain rule to allow ether5-access to the router. (router only)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CONNECTING TO THE WIFI DEVICE (assuming using iphone & mt app OR laptop wifi & winbox)
15. Go to the manual settings for the SSID showing in WIFI settings.
a. This can be accomplished by using the(i)symbol/icon next to the network/ssid on the iphone.
b. Use the appropriate WIFI (adapter) connection on your network settings on the laptop.
16. Enter in 192.168.5.5 for address and mask 255.255.255.0.
17. Connect to the WIFI network.
Note: One should establish successful connectivity by accessing safari or the browser of choice and then confirming access to the internet etc...
18. Next, open up the MT APP, and enter in192.168.5.1:8291for IP address / or in winbox on the laptop.
19. Use the assigned username and password.
Note: For a Capac with two ports, ether1 remains part of the bridge and is connected to your main router through this trunk port, the examples above speak to using the free ether2 or a virtual wlan.
+++++++++++++++++++++++++++++++++++++++++++++++
EXAMPLE- ether5, decide to use 192.168.5.55 as allowed IP.
Note: Since you have defined a subnet 192.168.5.0/24 you can pick any IP to enter into the IPV4 settings on the laptop.
If you can remember which one, feel free to narrow it down to lets say .55 in winbox rules or input chain rules etc.........
/interface ethernet
set [ find default-name=ether5 ] name=ether5-access
/ip address
add interface=ether5-access address=192.168.5.1/24 network=192.168.5.0
/Interface list
add interface=Trusted
/interface list members
add interface=ether5-access list=Trusted
/ip neighbours discovery
add interface-list=Trusted
/tool mac-server mac-winbox
set allowed-interface-list=Trusted
/ip firewall filter
add action=accept chain=input src-address-list=Authorized
add action=accept chain=input in-interface=ether5-access src-address=192.168.5.55
add action=accept chain=input in-interface=ether5-access src-address=192.168.5.0/24{ if you do not want to narrow down access }
where firewall address list is comprised of all potential Admin IP addresses locally or coming in on VPN.
This one is likely one you will be adjusting from time to time and may screw up.
As long as the separate rule exists not touched for the ether5 port, you can access the config.