[Notes] Network planning and administration: Interconnection
Interconnection of computer networks.
Mikrotik default user: admin (blank password).
ip address print ip address add address=192.168.241.254/24 interface=ether1
interface ethernet print interface ethernet set name=wan numbers=0
Assign gateway (192.168.241.2 is the VMware Workstation NAT virtual router, if the router is internal, the IP will be that of the external router):
ping 220.127.116.11 ip route add gateway=192.168.241.2
NAT rule on router:
ip firewall nat print ip firewall nat add chain=srcnat action=masquerade
Accessible local network:
In the external router (where 10 is the internal card of the internal router and 172 is the external card of the internal router):
ip route add dst-address=10.0.0.0/24 gateway=172.16.0.253
Port forwarding for remote desktop on the client (port 3389):
On the external router:
ip firewall nat add chain=dstnat dst-port=3389 action=dst-nat protocol=tcp to-addresses=10.0.0.1 to-ports=3389 in-interface=wan