jamesmcm / vopono

Run applications through VPN tunnels with temporary network namespaces
GNU General Public License v3.0
888 stars 46 forks source link

Syntax for forwarding/opening multiple ports? #209

Closed SocietasCooperationis closed 1 year ago

SocietasCooperationis commented 1 year ago

Passing -o/-f [Port_Num] seems to work but how do I specify multiple ports?

SocietasCooperationis commented 1 year ago

The documentation says that -f/-o can be used to specify a list of ports but I've yet to found a way to do more than one

jamesmcm commented 1 year ago
$ vopono -v exec firefox-developer-edition -o 56054 -o 1337

Works for me in the rules generation at least - note if forwarding ports you will need support on the VPN provider side too.