Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

WireGuard as a VPN option on the Virtual Router

Đang mở
#14,003 3 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
api, backend, networking

Hướng nghiên cứu

Trước tiên, hãy xem xét PR đã đóng #9977 cùng các slide và video của CCC 2024, sau đó lần theo câu hỏi chưa được giải quyết về thiết kế API qua các thành phần Virtual Router, Network, API và UI. Công việc được coi là hoàn tất khi xác định được một hướng triển khai khả thi và phạm vi để bổ sung hỗ trợ WireGuard trong một bản phát hành tương lai.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

component:networking component:virtual-router type:new-feature

ISSUE TYPE
  • Improvement Request / Feature Idea
COMPONENT NAME
Virtual Router, Network, API, UI
CLOUDSTACK VERSION
4.22.1.0
SUMMARY

CloudStack today offers L2TP for remote access and IPsec for site-to-site. We run CloudStack in production and a large share of our customer VPN problems come from the limits of these options. WireGuard would solve most of them:

Single UDP port. One port to allow, in and out, instead of IKE plus ESP and the NAT-T handling that comes with IPsec. It is far simpler to manage on customer-side firewalls, and much easier for us to support.

Works without a fixed public IP. Many of our customers sit behind dynamic addressing or carrier NAT and cannot establish an IPsec tunnel as the current IPsec S2S doesn't support authentication by Id, which has an open issue 13512. WireGuard traverses NAT with a single port and re-establishes on its own when the address changes. This is our single most common VPN complaint.

No negotiation matrix to get wrong. Bringing up an IPsec site-to-site tunnel means both ends agreeing on IKE version, DH group, encryption, hashing, authentication, PFS and lifetimes, in two separate phases. A single mismatch anywhere produces a tunnel that will not come up, often with no useful error on either side, and the customer equipment is usually out of our control. This is where most of our site-to-site setup time goes. WireGuard has no negotiation at all: exchange public keys and the tunnel is up.

Lower CPU cost. In our experience an IPsec tunnel pins encryption to one core and saturates it, capping tunnel throughput well below the link. WireGuard is noticeably lighter for the same traffic due to its modern encryption algorithms.

One protocol for both use cases. Remote access and site-to-site with the same configuration model, instead of two separate stacks.

Home routers already support it. A large number of consumer and SOHO routers now ship WireGuard. That lets a customer connect their whole home or small office to their tenant directly from the router, and route only the tenant prefixes over the tunnel while normal internet traffic stays local. Split routing like this is not workable with the current L2TP client setup, and this is exactly what many of our customers are asking for.

PRIOR ART

This has already been proposed and partly implemented in the project:

The PR did not stall because the feature was rejected. It stalled on an open API design question, then on rebase conflicts, and finally on the author's availability.

Is it feasible to revive this and get WireGuard support into a future release? There is real demand for it among our customers, and the groundwork already exists in the closed PR and the CCC material.

Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 20 giờ
Pull request đã merge (30 ngày)
27

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/cloudstack

Tất cả issue của apache/cloudstack

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.