Yes, Routerboards are 100% programmable.
You could achieve what you want and learn during the process, this is what I'd do to "reverse" the ports w/o having to program it from scratch:
Connect to your mAP using winbox.
1.- Create an configuration export: To do so, Open a
New Terminal, and issue
2.- Download the file to your desktop: open
Files, then either drag and drop
mymap.rsc to your desktop, or right click, Download, save. Make a copy.
3.- Open
mymap.rsc with an editor that preserves CR/LF, e.g. wordpad or notepad++ on windows, textedit on OS X, or any linux editor:
- Enter this line at the beginning of the file just after the Serial number comment:
...
# serial number = 98760298760032
/delay 30
...
Now use Find and Replace to:
- Change all ether1 occurrences to 'ether11'
- Change all ether2 occurrences to 'ether22'
- Change all ether11 to ether2
- Change all ether22 to ether1
By this time physical ports are reversed. In order not to induce to error:
- Change all ether1 to LAN-ether1
- Change all ether2 to WAN-ether2
(WAN port in the router will be ether2 and LAN ether1 physically)
Save the file as
mymapR.rsc for example (R from Reversed)
4.- Upload
mymapR.rsc back to the map using
Files, either by drag and drop, or by using the Upload button.
5.- Go to System > Reset Configuration, tick
Keep User Configuration,
Do Not Backup and most important:
No Default Configuration. On the
Run After Reset field set
mymapR.rsc. Click on Reset Configuration button.
Router will restart and load the config in the mymapR.rsc file. You can make sure it loaded fine by connecting to it, opening a New Terminal and issuing an export again the text should match.
If you cannot connect to the map afterwards (e.g. didn't load the configuration):
- Make sure you're connected to ether1
- Use Neighbors tab in Winbox