Comments (7)
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.
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.
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.
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.
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.
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.
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)
- net_cls interfering with lxd on linux HOT 4
- Network Extension framework on macOS HOT 5
- Permission denied HOT 1
- Windows: Wireguard Connection Fails
- Split Tunnel rules sometimes do not apply properly after hibernation HOT 1
- [Feature Request] Import custom VPN config files HOT 1
- Constantly goes up and down in CPU Usage HOT 1
- pia-daemon is too slow to stop HOT 7
- Support runit (Void Linux) service manager HOT 3
- upgrade: run-in-terminal.sh doesn't find gnome-console version 45 kgx HOT 2
- High CPU usage in WmiPrvSE.exe observed with PIA Split Tunnel HOT 8
- Advanced Kill Switch prevents the app from connecting to itself HOT 1
- Missing Dependencies for Linux runfile installer; unhelpful error HOT 1
- Command line connection sometimes activates killswitch
- Linux app; Qt6/Wayland/KDE? HOT 5
- Automations are broken on macOS 14.4 HOT 3
- Package for NixOS
- arch linux install: /etc/iproute2/rt_tables: No such file or directory HOT 2
- Unable to install on Fedora Atomics
- Very small UI HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.