Comments (1)
Can you check if your wireguard config contains the "AllowedIPs" key?
[Interface]
....
[Peer]
....
AllowedIPs = 0.0.0.0/0, ::/0
...
The relevant code portion where net1 used is in this code snippet
for ips in wg_config.peers[peer_id]["AllowedIPs"]: # type: ignore
if ips == "::/0" and platform.system().lower() == "windows":
self.log.info("OS == windows, skipping AllowedIPs '::/0'")
continue
try:
net1 = ipaddress.ip_network(ips)
net2 = ipaddress.ip_network(wst.endpoint_ip + "/32")
allowed_ips.extend(map(str, net1.address_exclude(net2))) # type: ignore
except (TypeError, ValueError) as e:
self.log.warning(f"{e} - Appending {net1} to AllowedIPs anyways")
allowed_ips.append(ips)
if platform.system().lower() == "windows":
self.log.debug("OS == windows, adding ['::/1','8000::/1'] to AllowedIPs")
allowed_ips.extend(["::/1", "8000::/1"])
from wireguard-over-wstunnel.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireguard-over-wstunnel.