-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to install wireguard in kcptube? #20
Comments
In order to forward the traffic of wireguard to kcptube, the WireGuard listening address and communication address should both point to the kcptube forwarding port on the local machine. Assume that home pc is client and 'ipvds' is server, wireguard and kcptube are running on the same machine. If so, please modify the configureations as below: wgclient:[Interface] wgserver: PersistentKeepalive = 20 homepc: vds: graph LR;
wgclient["wgclient, connect to 127.0.0.1:51820"]-->local["kcptube (client), listen on 51820, connect to rempte:59000"];
local-->remote["kcptube (server), listen on 59000, connect to wgserver"];
remote-->wgserver["wgserver, listen on 51820"];
|
wireguard and kcptube - works on different external IP addresses, so there is no access over the local network. |
Is #21 the new configuration settings? If so, the wireguard connection is connected directly via internet. No traffic is forwarded by kcptube. |
.
The text was updated successfully, but these errors were encountered: