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

feat(provider): add support for Mikrotik routers #539

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

Conversation

jhotmann
Copy link
Contributor

@jhotmann jhotmann commented Oct 7, 2023

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.

@qdm12 qdm12 force-pushed the master branch 3 times, most recently from 0ab3d3c to 010634d Compare January 19, 2024 11:43
@qdm12 qdm12 force-pushed the master branch 2 times, most recently from fd15083 to 5c166a6 Compare January 28, 2024 12:10
@qdm12 qdm12 force-pushed the master branch 2 times, most recently from bed663a to 6a6b1a8 Compare February 13, 2024 10:42
Copy link
Owner

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there! I rebased your branch and improved/modified a bit. I'm also about to work into the code to remove the routeros dependency; I have a few questions:

  1. Why is IPv6 not allowed? I would tend to think it should work as well as IPv4 right?
  2. Why limit to one item in the address list? Is it not possible to handle multiple? I changed the code to handle multiple, but let me know if that's a problem.

Thanks!

@qdm12
Copy link
Owner

qdm12 commented Jun 15, 2024

Please try the latest code from your branch. I pushed another commit to remove the dependency on routeros (re-coding the logic needed), saving ~100KB of program size 😄

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.

2 participants