henriquesebastiao/routeros

By henriquesebastiao

Updated 6 months ago

Docker image for Mikrotik RouterOS.

Image
Networking
Internet of things
1

1.8K

henriquesebastiao/routeros repository overview

Mikrotik RouterOS on Docker

Docker image for Mikrotik RouterOS.

Repository: https://github.com/henriquesebastiao/routeros-docker

winbox

Important

This docker image was made for testing and lab use only. I am not responsible if you use it for commercial or production purposes.

Supported Architectures

Simply pulling henriquesebastiao/routeros:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

ArchitectureAvailable
x86-64
arm64

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

Note

You can choose not to declare ports that you do not need.
Docker Compose
services:
    routeros:
        container_name: "routeros"
        image: henriquesebastiao/routeros:latest
        privileged: true
        ports:
            - "22:22" # SSH
            - "80:80" # Web
            - "8291:8291" # Winbox
        cap_add: 
            - NET_ADMIN
        devices: 
            - /dev/net/tun
Docker CLI
docker run -d \
    --name=routeros \
    --privileged \
    -p 22:22 \
    -p 80:80 \
    -p 8291:8291 \
    --cap-add=NET_ADMIN \
    --device=/dev/net/tun \
    henriquesebastiao/routeros:latest
Ports and Protocols Exposed

Check the list of ports exposed in the image and use the ones necessary for your use case.

PortProtocolDescription
20TCPFTP Data
21TCPFTP Control
22TCPSSH
23TCPTelnet
53TCP/UDPDNS
67UDPDHCP Server
68UDPDHCP Client
80TCPHTTP
123UDPNTP
161UDPSNMP
443TCPHTTPS
500UDPInternet Key Exchange
546UDPDHCPv6 Client
547UDPDHCPv6 Server
1194TCP/UDPOpenVPN
1701UDPL2TP
1723TCPPPTP
2000TCP/UDPBandwidth Test Server
4500UDPNAT Traversal
5678TCPMikrotik Neighbor Discovery Protocol
8080TCPHTTP Proxy
8291TCPWinbox
8728TCPAPI
8729TCPAPI-SSL
13231UDPWireGuard

Tag summary

Content type

Image

Digest

sha256:8a7c32765

Size

87.4 MB

Last updated

6 months ago

docker pull henriquesebastiao/routeros:7.21.1