Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Submission: Mikrotik #2137

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

henriquesebastiao
Copy link
Contributor

App Submission

Mikrotik

...

256x256 SVG icon

icon

...

Gallery images

Captura de tela de 2025-02-03 21-40-45

Captura de tela de 2025-02-03 21-41-28

Captura de tela de 2025-02-03 21-42-36
...

I have tested my app on:

  • umbrelOS on a Raspberry Pi
  • umbrelOS on an Umbrel Home
  • umbrelOS on Linux VM

@henriquesebastiao
Copy link
Contributor Author

Setting user: 1000:1000 in docker-compose.yml causes the network interface not to work on Mikrotik.

Log:

mikrotik_server_1  | RTNETLINK answers: Operation not permitted
mikrotik_server_1  | Cannot find device "qemubr0"
mikrotik_server_1  | touch: /var/lib/udhcpd/udhcpd.leases: Permission denied
mikrotik_server_1  | udhcpd: /routeros/dhcpd.conf: No such file or directory
mikrotik_server_1  | udhcpd: started, v1.37.0
mikrotik_server_1  | udhcpd: can't open '/var/lib/udhcpd/udhcpd.leases': No such file or directory
mikrotik_server_1  | udhcpd: socket(AF_INET,3,255): Operation not permitted
mikrotik_server_1  | qemu-system-x86_64: -hda chr-7.17.1.vdi: Could not open 'chr-7.17.1.vdi': Permission denied
mikrotik_server_1  | /routeros/bin/entrypoint.sh: line 26: /routeros/dhcpd.conf: Permission denied
mikrotik_server_1  | Failed to send flush request: Operation not permitted
mikrotik_server_1  | RTNETLINK answers: Operation not permitted
mikrotik_server_1  | Error: argument "qemubr0" is wrong: Device does not exist

@henriquesebastiao
Copy link
Contributor Author

If relevant, information about the ports used by RouterOS can be found here:
https://help.mikrotik.com/docs/spaces/ROS/pages/103841820/Services

Copy link

github-actions bot commented Feb 6, 2025

🎉   Linting finished with no errors or warnings   🎉

Thank you for your submission! This is an automated linter that checks for common issues in pull requests to the Umbrel App Store.

Please review the linting results below and make any necessary changes to your submission.

Linting Results

Severity File Description
ℹ️ mikrotik/docker-compose.yml External port mapping "8322:22":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8343:443":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8728:8728":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8291:8291":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8353:53/udp":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8353:53/tcp":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8361:161/udp":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "500:500/udp":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "4500:4500/udp":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8394:1194":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "1701:1701":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml External port mapping "8331:13231":
Port mappings may be unnecessary for the app to function correctly. Docker's internal DNS resolves container names to IP addresses within the same network. External access to the web interface is handled by the app_proxy container. Port mappings are only needed if external access is required to a port not proxied by the app_proxy, or if an app needs to expose multiple ports for its functionality (e.g., DHCP, DNS, P2P, etc.).
ℹ️ mikrotik/docker-compose.yml Potentially using unsafe user in service "server":
The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

Legend

Symbol Description
Error: This must be resolved before this PR can be merged.
⚠️ Warning: This is highly encouraged to be resolved, but is not strictly mandatory.
ℹ️ Info: This is just for your information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant