Skip to content

[Draft] VR: allow outgoing traffic from Remote access VPN clients - #10083

Draft
weizhouapache wants to merge 1 commit into
apache:4.20from
weizhouapache:4.20-vr-allow-outgoing-remote-access-vpn-client
Draft

[Draft] VR: allow outgoing traffic from Remote access VPN clients#10083
weizhouapache wants to merge 1 commit into
apache:4.20from
weizhouapache:4.20-vr-allow-outgoing-remote-access-vpn-client

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

Description

This PR enables VR to allow outgoing traffic from Remote access VPN clients via CloudStack VR.

This PR is a draft. Ideally there is a global/account configuration, or new property of remote access VPN (similar as remote.access.vpn.client.iprange)

Remote access vpn (setup by L2tp in CloudStack VR) does not support split tunneling. Where are two options when user connects to the RAV server

  • Do not use the VPN connection for the client. User has to manually add static route to the VMs on guest network.
  • Use the VPN connection for the client. All traffic will go through the RAV server (cloudstack VR). Currently, if uses choose this option, the RAV client will lose connection to the Internet. This PR fixes the issue.

Note, there is no option for L2TP clients to "Use the VPN connection only on the resource of the network".

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@codecov

codecovBot commented Dec 11, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.21%. Comparing base (79ebf69) to head (4d26d8c).
⚠️ Report is 148 commits behind head on 4.20.

Additional details and impacted files
@@ Coverage Diff @@## 4.20 #10083 +/- ##
============================================
- Coverage 16.21% 16.21% -0.01% + Complexity 13354 13351 -3 
============================================
Files 5657 5657 Lines 498642 498642 Branches 60520 60520 ============================================
- Hits 80868 80860 -8 - Misses 408754 408770 +16 + Partials 9020 9012 -8 
FlagCoverage Δ
uitests4.00% <ø> (ø)
unittests17.07% <ø> (-0.01%)⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DaanHooglandDaanHoogland added this to the 4.20.1 milestone Dec 11, 2024
@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11804

@Pearl1594

Copy link
Copy Markdown
Contributor

@weizhouapache is this ready for review?

@Pearl1594Pearl1594 moved this to In Progress in ACS 4.20.1Mar 17, 2025
@Pearl1594Pearl1594 modified the milestones: 4.20.1, 4.20.2Jun 3, 2025
@sureshanaparti

Copy link
Copy Markdown
Contributor

@blueorangutan package

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@sureshanaparti
sureshanaparti self-requested a review June 5, 2025 09:42
@weizhouapacheweizhouapache modified the milestones: 4.20.2, 4.20.3Sep 3, 2025
@DaanHoogland
DaanHooglandforce-pushed the 4.20-vr-allow-outgoing-remote-access-vpn-client branch from 1497d59 to 4d26d8cCompareDecember 12, 2025 09:38
@abh1sarabh1sar modified the milestones: 4.20.3, 4.20.4Feb 16, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@weizhouapache@blueorangutan@Pearl1594@sureshanaparti@DaanHoogland@abh1sar