Setup wireguard on local pc and mac laptop (acces from wan remote desktop)

Hi all. I need to setup fast and save connection to access my windows pc (remote desktop) from my mac from wan. I choosed wireguard for connection and will be great to find tool for remote desktop between mac and windows pc windows (server) mac (client) network specs: router lan address: 192.168.2.1 pc lan address: 192.168.2.3 standard 255 255 255 0 mask all devices have static lan addresses I have static wan ip After install wigeuard I made tunnel named "1". Now I can see that I have 2 new network adapters "wg_server" and "1" - if connection is active. When connection is active I cant access other local network devices and cant ping them, I cant even access router gui but this is only lan device I can ping Ping routerwith wireguard off: Reply from 192.168.2.1: bytes=32 time<1ms TTL=64 ping router with wireguard on: Reply from 192.168.2.1: bytes=32 time<1ms TTL=128 My current wireguard config: server: [Interface] PrivateKey = xxxx ListenPort = 21370 Address = 192.168.2.1/24 Client: [Interface] PrivateKey = Address = 192.168.2.101/24 [Peer] Endpoint = wan ip:21370 AllowedIPs = 0.0.0.0/0 PublicKey = xxxxx
D
DirtyJ324d ago
Just to make sure I'm reading this right, you're wanting to access LAN devices from the Windows server while it's connected to the VPN? If so, you'll probably need to tweak the AllowedIPs setting
BJ
Blind Joe324d ago
no, I have win 11 pc and want it to act like a sever to wireguard. I want to connect to windows desktop pc in my home from macbook laptop from wan
D
DirtyJ324d ago
Alright, so is the issue not being able to connect or not being able to see devices (or the internet) on wireguard?
BJ
Blind Joe324d ago
I dont know how to configure it 😛 and I cant ping lan devices when wireguard tunnel connection is active on windows pc
D
DirtyJ324d ago
Gotcha, so couple of things you'll have to address. First, to make the LAN devices available on the Windows machine, you'll need to tweak the configuration and allow the local subnet. Found a reddit post that'll walk you through that: https://www.reddit.com/r/WireGuard/comments/e5mm3z/how_to_allow_local_ips_on_windows_10_client/
reddit
r/WireGuard - How to allow local IPs on Windows 10 client?
2 votes and 5 comments so far on Reddit
BJ
Blind Joe324d ago
dont work or I did something wrong this is my current windows config [Interface] PrivateKey = cMRr1KjP8Gb1jLgfKPxVqzrmRKXrrwxeDSHlxHnshlk= ListenPort = 21370 Address = 192.168.2.1/24 DNS = 1.1.1.1 [Peer] PublicKey = kdlIOo4n0+fSgFTdvbnV9g8fo8PjqrEn2dC1IIaLhwM= 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/3, 160.0.0.0/5, 168.0.0.0/6, 172.0.0.0/12, 172.32.0.0/11, 172.64.0.0/10, 172.128.0.0/9, 173.0.0.0/8, 174.0.0.0/7, 176.0.0.0/4, 192.0.0.0/9, 192.128.0.0/11, 192.160.0.0/13, 192.169.0.0/16, 192.170.0.0/15, 192.172.0.0/14, 192.176.0.0/12, 192.192.0.0/10, 193.0.0.0/8, 194.0.0.0/7, 196.0.0.0/6, 200.0.0.0/5, 208.0.0.0/4 Endpoint = wanIP:21370
BJ
Blind Joe324d ago
No description
BJ
Blind Joe324d ago
okay this is super confusing. I think I am done with this. extremaly bad documentation for this program. I spend 7 hours in 3 days to configure this and nothing I dont even know how to set wireguard server in windows. Hate stupid programs....
More Posts
how to turn off real time protection in the new windows update where it doesn’t shows manage settingIt is showing open apps but not manage setting so idk how and where to accesssi have a sonicwall nsa 3500 (I have no clue what im doing)i just need to know how to setup the last four ports to use as a normal lan, `the x0 port is hookedLaptop As PhoneHey everyone, I'm currently trying to find a solution to a specific issue. I have a laptop with thathacked?How I can identify if my phone getting hacked or not?credentials in plain text in burpsuiteI got to know credentials seen in plain text while using Burpsuite configured to a browser is not a HELP ME WITH MY BUSINESSI live in village and sell milk and cheese in city and I want to scale up my business now I'm makingA way to have a device connected to someone's network pass its data to my pcSo long story short uncle owns a car garage and recently something called "Remote car diagnostic" waProgramming Language first or learning hardware CYBERSECURITYYo yall, so I want to go into cybersecurity, and I found this map that tells me where to go. https:/dga3134looking for help port forwarding my dayz server please, iveopened all the ports in and outbound on minstagram being hackedapparantly one of my friend have hacked my insta account and took screenshots of my messages with myip in webHow can I enter multiple IPs with one system to simulate multiple viewers on the site?Port forwardingSo I have a netgear nighthawk rax43 and i have port 25565,80,443,2022,19132,22 All open and they areOld ROBLOX Account from age 13. Lost password and there's no connected email.Link:https://www.roblox.com/users/1676810577/profile. I made it to roleplay with my aunt and some frhi i want helphi i want help my pc get hacked i buy new usb device and after i put it i get message its need to rHELP ME MY KEYS GOT REMOVEDMy pc rog scar 15 keys got removed for dk what reason please HELPHELP My keyboard isn’t working internal and externalOne of my keys weren’t working so I tried updating my keyboard in task manager and after my whole kC# helpim trying to type this code, but i have problems with using pet1.PetName, but i have declared them ealtruistic virusim trying to get rid of it, i know the file location but cant delete normally cuz access is denied, Problems with creating object in C#im trying to creat an object in c#, i have done exactly like the video on youtube told me to, but i Pathing issueWhat should I do?