mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
5.11k stars 339 forks source link

mullvad-cli: support port forwarding #2938

Open ioistired opened 3 years ago

ioistired commented 3 years ago

Issue report

Operating system: Arch Linux App version: 2021.4

Issue description

Every time I want to forward a port (which is quite often, now that forwards are per-relay), I have to go on the website. It would be nice if I could just run mullvad port add and have it output a port for me to use, already scoped to the current wireguard key and relay in use. Then I could run mullvad port list to show me all my ports, then mullvad port remove it-mil-56123 for example to remove a port. The last command should take multiple arguments, or all to clear all port forwards.

faern commented 3 years ago

Thank you for this feature request. Port handling via the app is currently not on the roadmap, but it's something we have been vaguely talking about internally for a long time.

Let this issue act as a tracking issue for the feature at least. But I have no ETA when we might get to it. First we need to expose such an API from our infrastructure.

faern commented 3 years ago

I fail to see how a guide on shadowsocks on Android is related to port forwarding on the desktop? :thinking:

We don't currently have any public API where you can manage your port forwarding. So no luck sadly.

lordcyb3r commented 3 years ago

I fail to see how a guide on shadowsocks on Android is related to port forwarding on the desktop? 🤔

We don't currently have any public API where you can manage your port forwarding. So no luck sadly.

Apologies was super tired and thought I was replying to a different issue