Comments (4)
Ahh ok, I guess because you're not using internet sharing, WireGuard needs to know what interface to listen on locally.
I'll make this an enhancement to add the address property to the server config. Have to verify that it doesn't break anything else.
from wgserverforwindows.
Hi @b4tman, this is intentional. The server configuration file does not need to know its own public address. That property is targeted only to the client configs, which obviously need to know what endpoint they're connecting to.
I can confirm that my server configuration file has only ListenPort
and PrivateKey
, and I am able to connect successfully.
from wgserverforwindows.
Hello @micahmo. Yes WireGuard client can connect to server without Address
in server config. But when no internet sharing or routing enabled, using only point-to-point network, clients unable to connect to server directly by it's VPN Address
. I mean appications like RDP etc.
When I add Address=
to server config, evrything works fine. May be I miss something?
from wgserverforwindows.
Just a note that while investigating #26, I discovered that putting the Address
line in the server configuration file breaks the WireGuard configuration sync. You can see if I try to sync the configuration with that line, WireGuard rejects it.
> wg.exe syncconf wg_server $env:appdata\WS4W\server_wg\wg_server.conf
Line unrecognized: `Address=10.254.0.1'
Configuration parsing error
I'm not sure how adding that line fixed your issue. Maybe it was a coincidence. But I've rolled back that change for now. If you can figure out a way to add it so that WireGuard is happy with, I can put it back.
from wgserverforwindows.
Related Issues (20)
- cant enable private network HOT 6
- wireguard not connecting and not recieving handshake pls help im beginner need to get this working :(((( HOT 1
- Wireguard connected - handshake received - no internet access HOT 3
- WG server always use lowest metric adapter in multiple lan environment HOT 4
- wireguard as server on windows ignores and bypasses firewall settings HOT 4
- Network Address Translation and Internet Connection Sharing not required? HOT 5
- Network Connection Sharing Adapter Issue HOT 1
- Port Forwarding HOT 1
- Clients can ping server but can't ping each other HOT 2
- IPV6 Setup HOT 2
- Suddenly have unknown device HOT 4
- Got handshake, client packets send, but (client) not receiving packets.
- Stopped working after reboot (Windows Server 2019) HOT 6
- Bug: NAT task scheduler script does not work with spaces in the path
- Is there a way to disable the wireguard server HOT 2
- Cannot access services on WireGuard server
- Call Server Status Display Directly HOT 1
- can't share internet
- [Proposal] Disabling and enabling wireguard server HOT 2
- Not working on 32bit Windows
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 wgserverforwindows.