TunSafe Forum

Welcome to the TunSafe Community Forum. This is open for discussions related to TunSafe and the WireGuard protocol.

You are not logged in.

#1 2019-01-23 01:07:48

airsine
Member
Registered: 2019-01-22
Posts: 1

Allow traffic to local networks

Where is this setting or where do I insert it??

Allow traffic to local networks

And please direct me to the correct thread if I'm in the wrong spot. I CANNOT *SEE* my connected networks when Wireguard is up. I CAN SEE the tunnel endpoints just fine..i.e, 10.8.8.1-10.8.8.2. See config:


Server
[Interface]
Address = 10.8.8.1/24
SaveConfig = true
ListenPort = 11753
PrivateKey = xxxxx

[Peer]
PublicKey = xxxxxxxx
AllowedIPs = 172.28.120.0/23, 10.8.8.0/24
Endpoint = xxxxxx:12547


Client
[Interface]
Address = 10.8.8.2/24
PrivateKey = xxxx
DNS = 8.8.8.8


[Peer]
PublicKey = xxxxx
Endpoint = xxxxxxxx:53
AllowedIPs = 10.1.1.0/24, 10.8.8.0/24
PersistentKeepalive = 21


So, I can't see 10.1.1.0/24 or 172.28.120/23 and I DO NOT want to NAT everything through the tunnel...

ty

I donated please help....

Last edited by airsine (2019-01-23 01:09:44)

Offline

#2 2019-01-25 05:13:54

lostcowboy
Member
Registered: 2019-01-25
Posts: 2

Re: Allow traffic to local networks

Hi, just found out about Wireguard and Tunsafe yesterday. I have the Android version installed, in setting you can exclude the locale lan. I am assuming there is a disallowedips command somewhere. I would go to the Wireguard web site, there should be a list of commands for the config files

Offline

#3 2019-01-30 20:06:50

wiggo
Administrator
Registered: 2018-03-09
Posts: 62

Re: Allow traffic to local networks

Hi, is the problem that you can't access the LAN that your computer is connected to locally. Or is the problem that you can't access other IPs on the WireGuard endpoint?

Offline

#4 2019-01-30 20:08:16

ludde
Administrator
Registered: 2018-03-09
Posts: 127

Re: Allow traffic to local networks

Hi airsine,

Can you explain what is the ip range of the networks you can't "see" (do you mean ping?) and can you paste the output from TunSafe when connected?

You have specified 10.1.1.0/24 and 172.28.120/23 on AllowedIPs this means those will be routed through WireGuard.

"Allow traffic to local networks" is used only when you have a 0.0.0.0/0 route on AllowedIPs. It will then exclude the local ip ranges (192.168, etc) from the 0.0.0.0/0 route.

Offline

Board footer

Powered by FluxBB