Skip to content

Let clients specify an internal port for port forwarding #32

Open

Description

@fice-t

Apologies if this is the wrong tracker for this.

With a standalone NAT-PMP client (e.g. natpmpc), one can specify the internal (client-side) port for use with Proton VPN:

natpmpc -a 1 12345 <...> # Maps a random public port to private/internal port 12345

This allows a stable port to be used on the machine, which can be referenced by the firewall and other programs. As it is only specifying the private/internal port, there is no port conflict with other users.

To match the functionality of the above, clients should be able to specify the internal port for the mapping.

Currently the code doesn't appear to allow choosing the internal port. Hopefully this could be changed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions