馃摗 Add PPP over Hysteria2 (experimental) - #1530
Open
luunarrr wants to merge 1 commit into
Open
Conversation
luunarrr
force-pushed
the
ppp
branch
2 times, most recently
from
March 31, 2026 00:20
8563d55 to
8093ae3
Compare
luunarrr
force-pushed
the
ppp
branch
23 times, most recently
from
July 29, 2026 16:58
bee5bd6 to
ea97fe2
Compare
luunarrr
force-pushed
the
ppp
branch
2 times, most recently
from
August 5, 2026 20:24
17e326c to
63ed139
Compare
luunarrr
force-pushed
the
ppp
branch
2 times, most recently
from
August 20, 2026 17:29
8366a58 to
37bacd1
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
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:
Example config for LAC: