Git Product home page Git Product logo

Comments (7)

piramiday avatar piramiday commented on September 27, 2024 1

i'm a developer :)

haha, great! if you want, you could add @pia-foss to your organization. 😄

Sorry i found your original description hard to follow, but your update is much clearer.

I thought my first post was pretty clear, but okay -- I'm glad I got a second chance to explain! 👍

Hypothetically, what if we just exposed the "use port-forwarding" checkbox to the CLI? Then you could toggle it on or off before you connect to an auto region?

something like piactl set portforward on/off? sure, that would work!

IMHO, all GUI options should be toggle-able from the CLI anyway. 🧑‍💻

from desktop.

banister avatar banister commented on September 27, 2024 1

You can actually make use of the unstable CLI options to achieve what you want today, try the following to toggle port forwarding (use false to turn it off):

piactl -u applysettings '{"portForward":true}'

from desktop.

banister avatar banister commented on September 27, 2024

the auto region does already respect port-forwarding - if you toggle on PF, the auto region is constrained to those regions which already have PF.

from desktop.

piramiday avatar piramiday commented on September 27, 2024

I already wrote:

independently of the GUI settings

and

I understand the same can be accomplished from the GUI, but I do not see the portforwarding as a global configuration -- it's more of a local configuration to be changed at will (outside of the GUI).

my goal is to be able to interface with PF and non-PF regions in a user-independent workflow, without flicking GUI checkboxes, e.g. in a bash script:

piactl set region auto-port-forward
echo "do something that requires PF"

piactl set region auto
echo "do something that requires low ping"

at present, if I select PF in the GUI, then I'm stuck with PF for all my sessions, and vice versa.

@banister I'm new here -- are you writing as part of the PIA team, or as a regular user?
I think this issue is for the developers, if and when they'll have time to reply or tackle this.

from desktop.

banister avatar banister commented on September 27, 2024

i'm a developer :)

Sorry i found your original description hard to follow, but your update is much clearer.

Hypothetically, what if we just exposed the "use port-forwarding" checkbox to the CLI? Then you could toggle it on or off before you connect to an auto region?

from desktop.

piramiday avatar piramiday commented on September 27, 2024

seems to be working! thanks. 👍

if that's okay with you, I'd like to wait for such feature to be documented somewhere before closing this issue.

reference: https://www.privateinternetaccess.com/helpdesk/kb/articles/pia-desktop-command-line-interface

from desktop.

JonathonH-PIA avatar JonathonH-PIA commented on September 27, 2024

This is now possible in 2.2.0 with piactl set requestportforward <true/false>! piactl --help lists this in 2.2.0, and we'll update the KB article.

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.