I now have the RB5009UG+S+ running RouterOS 7.11.3
We have systems that are all configured at 192.168.10.100 and we used IP Firewall Filters to do nat-dst and nat-src to move it to 192.168.20.x
Example: System 1 - 192.168.10.100 ==> 192.168.20.10
System 2 - 192.168.10.100 ==> 192.168.20.20
System 3 - 192.168.10.100 ==> 192.168.20.30
But I'm having a bit of difficulty setting the new 8 port up.
this is the complete scripts we used (for one particular Mikrotik):
Code: Select all
# Basic setup to NAT/to/from 192.168.20.0 <==> 192.168.10.0 RouterOS 4.14
# software id = RU21-118P
/system identity
set name=router-20-10
# ether1 is the 'command' port
# ether2 is the internal 'gauge' network.
# ether3 is the external 'public' network.
/ip address
add address=10.10.10.1/24 interface=ether1 comment="Router"
add address=192.168.10.1/24 interface=ether2 comment="Internal Gateway"
add address=192.168.20.10/24 interface=ether3 comment="External MEC"
add address=192.168.20.11/24 interface=ether3 comment="External LINK"
add address=192.168.20.12/24 interface=ether3 comment="External REMOTE"
add address=192.168.20.19/24 interface=ether3 comment="External Router"
#
# Set default gateway route
#
/ip route
add comment="Default gateway" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.20.1 scope=30 target-scope=10
#
# Add nat rules here
#
#
/ip firewall nat
add action=dst-nat chain=dstnat comment="To MEC" disabled=no dst-address=192.168.20.10 to-addresses=192.168.10.100
add action=src-nat chain=srcnat comment="From MEC" disabled=no src-address=192.168.10.100 to-addresses=192.168.20.10
add action=dst-nat chain=dstnat comment="To Link" disabled=no dst-address=192.168.20.11 to-addresses=192.168.10.110
add action=src-nat chain=srcnat comment="From Link" disabled=no src-address=192.168.10.110 to-addresses=192.168.20.11
add action=dst-nat chain=dstnat comment="To Remote" disabled=no dst-address=192.168.20.12 to-addresses=192.168.10.200
add action=src-nat chain=srcnat comment="From Remote" disabled=no src-address=192.168.10.200 to-addresses=192.168.20.12
add action=dst-nat chain=dstnat comment="To Somewhere else" disabled=no dst-address=192.168.20.15 to-addresses=192.168.10.150
add action=src-nat chain=srcnat comment="From Somewhere else" disabled=no src-address=192.168.10.150 to-addresses=192.168.20.15
#
# Add Service ports for maintaining
#
/ip service
set telnet address=0.0.0.0/0 port=23
set ftp address=0.0.0.0/0 port=21
set www address=0.0.0.0/0 port=80
set winbox address=0.0.0.0/0 port=8291
Code: Select all
# 1970-01-02 02:00:03 by RouterOS 7.11.3
# software id = VN5D-CB7D
#
# model = RB5009UG+S+
# serial number =
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
add name=gauge-10
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge settings
set use-ip-firewall=yes
/ip neighbor discovery-settings
set discover-interface-list=LAN
/ipv6 settings
set disable-ipv6=yes
/interface list member
add interface=ether8 list=LAN
add interface=ether1 list=gauge-10
/ip address
add address=192.168.20.80/24 interface=ether8 network=192.168.20.0
add address=192.168.10.100/24 interface=ether1 network=192.168.10.0
/ip firewall nat
add action=dst-nat chain=dstnat comment=mec-10 dst-address=192.168.20.10 \
to-addresses=192.168.10.100
add action=src-nat chain=srcnat comment=mec-10 src-address=192.168.10.100 \
to-addresses=192.168.20.10
/ip route
add distance=1 gateway=192.168.20.1
/system note
set show-at-login=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN