Hello.
After so much time I found that the main guide "WireGuard Road Warrior Setup" was not obvious for me in the part when I got working VPN connection with handshake and access to my lan network but I could not get ping to external address.
Short intro: there are two different tunnels:
- full-tunnel (which I get with lan and without internet)
- split-tunnel
To get internet work I changed client config file in part:
[Peer]
AllowedIPs = 192.168.250.0/0
So I put network mask of my internal lan (behind NAT) to send all requests of the client to 192.168.250.0/0 network through wireguard tunnel.
Hope I wrote it clear and sorry for mistakes, but I just wanted to save some (much) time for those who would like to enjoy wireguard.
Sorry for inconvenience in advance in case if it is clear for all others, but I did not find working help in this particular case.
And if your are able to explain it in better manner please feel free to correct me or write it better fresh new.
After so much time I found that the main guide "WireGuard Road Warrior Setup" was not obvious for me in the part when I got working VPN connection with handshake and access to my lan network but I could not get ping to external address.
Short intro: there are two different tunnels:
- full-tunnel (which I get with lan and without internet)
- split-tunnel
To get internet work I changed client config file in part:
[Peer]
AllowedIPs = 192.168.250.0/0
So I put network mask of my internal lan (behind NAT) to send all requests of the client to 192.168.250.0/0 network through wireguard tunnel.
Hope I wrote it clear and sorry for mistakes, but I just wanted to save some (much) time for those who would like to enjoy wireguard.
Sorry for inconvenience in advance in case if it is clear for all others, but I did not find working help in this particular case.
And if your are able to explain it in better manner please feel free to correct me or write it better fresh new.