mirror of
https://github.com/amnezia-vpn/amneziawg-windows-client.git
synced 2026-10-13 21:34:51 +00:00
[GH-ISSUE #7] feature request: multiple simultaneous tunnels #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-windows-client#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timurlatipov on GitHub (Aug 22, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-windows-client/issues/7
Original Windows WireGuard application allows running several tunnels simultaneously as long as the AllowedIPs of those tunnels do not overlap. AmneziaWG doesn't seem to be able to do so. Are there any plans to re-introduce this feature?
It is one of the features we love Wireguard for. Say I have to configs, one for work vpn, the other is personal
Work config tunnels a single /8 subnet via its own server:
AllowedIPs = 10.0.0.0/8And personal config would tunnel all of the rest through another vpn server:
AllowedIPs = 0.0.0.0/5, 8.0.0.0/7, 11.0.0.0/8, 12.0.0.0/6, 16.0.0.0/4, 32.0.0.0/3, 64.0.0.0/2, 128.0.0.0/1Such two tunnels will work simultaneously in original client, but AnmeziaWG cannot do this
If it is possible. please add this functionality to AnmeziaWG
@grandsilence commented on GitHub (Aug 26, 2024):
I tried both options for the
MultipleSimultaneousTunnelskey and had no positive effect:@Verity-Freedom commented on GitHub (Oct 8, 2024):
Amnezia VPN already has split tunnels for AmneziaWG so it makes the AmneziaWG outdated, please update the application.
@timurlatipov commented on GitHub (Oct 8, 2024):
Amnezia VPN doesn't allow running two tunnels simultaneously, does it?
@Verity-Freedom commented on GitHub (Oct 8, 2024):
Idk I need splitting tunnels.
@Trogvars commented on GitHub (Nov 22, 2024):
Need this feature too! Please add.
@Trogvars commented on GitHub (Nov 29, 2024):
Check commit on issue.
Just uncomment tunnel intersection check in ipc_server.go and everything start to work as expected!
@breBHo commented on GitHub (Dec 13, 2024):
Thank you very much for your help. I had been searching for a way to connect to multiple Amnezia VPNs or other unblockable protocols simultaneously for quite some time, but everywhere I tried, I encountered failure.
And then your advice to uncomment the tunnel intersection check in
ipc_server.gohelped me, though I ran into issues during the build process, which I managed to resolve.Please don't be too critical of my guide; I haven't written many of them and it's been a long time since I last did.
So, for those who might also need to use multiple Amnezia VPN tunnels, here's what to do:
"amneziawg-windows-client-1.0.0" – manager – ipc_server.go.build.batfile as an administrator.quickinstall.batfile as an administrator and wait.amd64/x86/arm64) in the root directory, containing the resulting.exefile..exefile with the new one.However, I encountered an issue where only the x86 version was being created. I had to tinker with the
MakeFileto remove x86 support. Here's what I did:Delete and modify these sections in the MakeFile:
To:
cleansection, remove references to x86 to make it look like this:After that, I needed to edit
build.bat:Steps to edit
build.bat:Remove the x86 build call:
In the
:buildsection, find this line:And delete it completely, leaving only:
Remove x86 signature builds:
In the
:signsection, find the line referencingx86\amneziawg.exeand delete it:Replace it with:
Remove x86 dependencies and resources:
In the
:build_platsection, replace:With: