[FEATURE] - WG Tunnel Inside Work Profile
[FEATURE] - WG Tunnel Inside Work Profile
The Problem: Limited VPN Options in Work Profile
Are you tired of being limited to only a few VPN options in your work profile on GrapheneOS? Do you want to have more flexibility and control over your VPN connections? If so, you're not alone. Many users have encountered the same issue, where VPN apps installed in the work profile do not appear in the list of available VPNs. This can be frustrating, especially when you need to switch between different VPNs for work and personal use.
My Situation: A Niche Use Case
My situation is a bit niche, but I understand if this feature request may not be implemented. I'm using GrapheneOS and have set up a work profile via Island/Insular. In my main profile, I have RethinkDNS running as my firewall. I still want to connect to a VPN, usually ProtonVPN, but I also want to use WG Tunnel to connect to my home network. To achieve this, I have set up sing-box in my work profile to proxy traffic from the main profile. I then have ProtonVPN installed in the work profile, so all traffic is routed through that after passing through the RethinkDNS firewall. However, I wanted to also put WG Tunnel into the work profile, so I could switch to that when I want to connect to my home network.
The Issue: WG Tunnel Not Appearing in VPN List
The problem is that WG Tunnel, when installed in the work profile, does not appear in GrapheneOS's list of VPNs. This means I cannot connect to my home network using WG Tunnel, even though it is installed in the work profile. If I install WG Tunnel in the main profile, it does appear in the list of VPNs, but this is not ideal, as I want to keep my work profile separate from my main profile.
The Solution: Declare VPN Service in Manifest
According to ChatGPT, the reason for this issue is that WG Tunnel does not properly declare itself as a VPN service in its manifest. To appear in the VPN list of a specific profile, a VPN app needs to:
- Declare itself as a VPN service in its manifest
- Be installed inside that profile
- Be set as the VPN provider for that profile by the OS
- Support work profile visibility, if it's a user-installed app
Alternatives Considered
It was suggested that I just use the official Wireguard app, but this is not available in F-droid, and I am keeping Google Play out of my work profile. I really like WG Tunnel, as it is a good app, and I would prefer to use it instead of the official Wireguard app.
Additional Context
I understand that this feature request may not be implemented, as it is a niche use case. However, I hope that this information will be helpful to others who may be experiencing the same issue. If you have any suggestions or workarounds, please let me know.
Conclusion
In conclusion, I am requesting that WG Tunnel be modified to properly declare itself as a VPN service in its manifest, so that it appears in the list of VPNs in the work profile. This would give me more flexibility and control over my VPN connections, and would be a useful feature for other users who may be experiencing the same issue.
Possible Solutions
Here are some possible solutions to this issue:
- Modify the WG Tunnel app to properly declare itself as a VPN service in its manifest
- Add a feature to WG Tunnel that allows it to be set as the VPN provider for the work profile
- Create a workaround that allows users to manually add WG Tunnel to the list of VPNs in the work profile
Benefits of the Feature
The benefits of this feature would be:
- More flexibility and control over VPN connections
- Ability to use WG Tunnel in the work profile, in addition to other VPN apps
- Improved user experience for users who need to switch between different VPNs for work and personal use
Implementation
If this feature is implemented, it would be a great addition to GrapheneOS. It would give users more flexibility and control over their VPN connections, and would be a useful feature for many users.
WG Tunnel Inside Work Profile: A Q&A Article
Q: What is the issue with WG Tunnel in the work profile?
A: The issue is that WG Tunnel does not appear in the list of VPNs in the work profile, even though it is installed in that profile. This means that users cannot connect to their home network using WG Tunnel in the work profile.
Q: Why does WG Tunnel not appear in the list of VPNs?
A: According to ChatGPT, the reason for this issue is that WG Tunnel does not properly declare itself as a VPN service in its manifest. To appear in the VPN list of a specific profile, a VPN app needs to:
- Declare itself as a VPN service in its manifest
- Be installed inside that profile
- Be set as the VPN provider for that profile by the OS
- Support work profile visibility, if it's a user-installed app
Q: What are the alternatives to using WG Tunnel in the work profile?
A: One alternative is to use the official Wireguard app, but this is not available in F-droid, and some users may not want to use Google Play. Another alternative is to use a different VPN app that is compatible with the work profile.
Q: Why is it important to declare VPN service in the manifest?
A: Declaring VPN service in the manifest is important because it allows the OS to recognize the app as a VPN provider and add it to the list of available VPNs. This is a requirement for VPN apps to appear in the VPN list of a specific profile.
Q: Can I manually add WG Tunnel to the list of VPNs in the work profile?
A: It is possible to manually add WG Tunnel to the list of VPNs in the work profile, but this may require some technical expertise and may not be a straightforward process.
Q: What are the benefits of using WG Tunnel in the work profile?
A: The benefits of using WG Tunnel in the work profile include:
- More flexibility and control over VPN connections
- Ability to use WG Tunnel in the work profile, in addition to other VPN apps
- Improved user experience for users who need to switch between different VPNs for work and personal use
Q: How can I get involved in the development of WG Tunnel?
A: If you are interested in getting involved in the development of WG Tunnel, you can:
- Join the WG Tunnel community on GitHub or other platforms
- Contribute to the development of WG Tunnel by submitting code or bug reports
- Provide feedback and suggestions for improving the app
Q: What is the current status of the WG Tunnel development?
A: The current status of the WG Tunnel development is that it is a popular and widely-used VPN app, but it does not currently support work profile visibility. The development team is working to address this issue and make the app compatible with the work profile.
Q: How can I stay up-to-date with the latest developments on WG Tunnel?
A: You can stay up-to-date with the latest developments on WG Tunnel by:
- Following the WG Tunnel community on GitHub or other platforms
- Subscribing to the WG Tunnel newsletter or blog
- Checking the WG Tunnel website for updates and announcements