📡 Add PPP over Hysteria2 (experimental)#1523
Open
luunarrr wants to merge 1 commit intoapernet:masterfrom
Open
Conversation
08102d1 to
5605643
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add PPP over Hysteria2, making Hysteria2 a true VPN server.
Motivation
Hysteria2 is an application proxy, even under TUN mode. It proxies IPv4 and IPv6 with simple authentication, and that's it.
We want a full VPN solution that utilises existing ISP and telecom ecosystems, all over the existing Hysteria2 protocol.
What's New
pppdover Hysteria2, opening up true VPN-style connectivity with dual-stack and non-IP payload support.pppdTested With
Not Tested Yet But Plan To
Example 1
Client (Windows)
Open
Manage Computer Certificate, import the generatedca.crtas Trusted Root, then create a new SSTP connection points to127.0.0.1:8443.Hysteria2 client needs to run with admin privilege for auto server route pining.
Server (Linux)
/etc/ppp/pap-secretsIf you want IPv6:
/etc/ppp/ipv6-up.d/radvdIf you want the client to access the Internet, you need something like: