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

Fix Automagic for TCP based OpenVPN and for port aliases #528

Merged
merged 3 commits into from
May 30, 2019

Commits on Jun 14, 2018

  1. Fix AutoMagic not working for TCP OpenVPN Servers

    $targetproto becomes tcp-client when creating a "Most clients" config for a TCP server. This caused the comparison $natent['protocol'] == $targetproto) to fail (tcp vs tcp-client). Also it seems like the old version would write "tcp" instead of the correct "tcp-client" into the config file, $targetproto contains the right string.
    RolfWojtech authored Jun 14, 2018
    Configuration menu
    Copy the full SHA
    53c54c5 View commit details
    Browse the repository at this point in the history
  2. AutoMagic: Create remote lines for every port within an alias

    When you have a Multi-WAN OpenVPN server or multiple ports NATing to a single OpenVPN server, many people recommend using an alias for the ports. Unfortunately the old implementation only creates a remote line for the first port of the alias and discards the rest. Generating multiple remote lines in this case is the expected behaviour.
    RolfWojtech authored Jun 14, 2018
    Configuration menu
    Copy the full SHA
    115ad89 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2018

  1. Configuration menu
    Copy the full SHA
    20d0713 View commit details
    Browse the repository at this point in the history