[PR #539] feat(provider): add support for Mikrotik routers #731

Open
opened 2025-11-20 04:25:51 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qdm12/ddns-updater/pull/539
Author: @jhotmann
Created: 10/7/2023
Status: 🔄 Open

Base: masterHead: master


📝 Commits (2)

📊 Changes

14 files changed (+584 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
docs/mikrotik.md (+33 -0)
📝 internal/provider/constants/providers.go (+1 -0)
📝 internal/provider/provider.go (+3 -0)
internal/provider/providers/mikrotik/api.go (+30 -0)
internal/provider/providers/mikrotik/client.go (+39 -0)
internal/provider/providers/mikrotik/errors.go (+10 -0)
internal/provider/providers/mikrotik/login.go (+50 -0)
internal/provider/providers/mikrotik/provider.go (+147 -0)
internal/provider/providers/mikrotik/reader.go (+128 -0)
internal/provider/providers/mikrotik/reply.go (+37 -0)
internal/provider/providers/mikrotik/run.go (+12 -0)
internal/provider/providers/mikrotik/sentence.go (+25 -0)
internal/provider/providers/mikrotik/writer.go (+68 -0)

📄 Description

When setting up hairpin NAT on Mikrotik routers, it is much easier if you have your public IP set in an address list. This provider adds the ability to update an address list via the router's API.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qdm12/ddns-updater/pull/539 **Author:** [@jhotmann](https://github.com/jhotmann) **Created:** 10/7/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`1378d95`](https://github.com/qdm12/ddns-updater/commit/1378d95eaa73fca4191fdb7c419f881fe6597cee) WIP - [`ead8d42`](https://github.com/qdm12/ddns-updater/commit/ead8d4293c07175ccf9857a14b56ce3c9d25da84) Drop dependency on routeros ### 📊 Changes **14 files changed** (+584 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `docs/mikrotik.md` (+33 -0) 📝 `internal/provider/constants/providers.go` (+1 -0) 📝 `internal/provider/provider.go` (+3 -0) ➕ `internal/provider/providers/mikrotik/api.go` (+30 -0) ➕ `internal/provider/providers/mikrotik/client.go` (+39 -0) ➕ `internal/provider/providers/mikrotik/errors.go` (+10 -0) ➕ `internal/provider/providers/mikrotik/login.go` (+50 -0) ➕ `internal/provider/providers/mikrotik/provider.go` (+147 -0) ➕ `internal/provider/providers/mikrotik/reader.go` (+128 -0) ➕ `internal/provider/providers/mikrotik/reply.go` (+37 -0) ➕ `internal/provider/providers/mikrotik/run.go` (+12 -0) ➕ `internal/provider/providers/mikrotik/sentence.go` (+25 -0) ➕ `internal/provider/providers/mikrotik/writer.go` (+68 -0) </details> ### 📄 Description When setting up hairpin NAT on Mikrotik routers, it is much easier if you have your public IP set in an [address list](https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Address_list). This provider adds the ability to update an address list via the router's API. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 04:25:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#731