A
A
adissei2020-06-25 00:27:58
VPN
adissei, 2020-06-25 00:27:58

OpenWrt+Wireguard no internet access?

I've been suffering for a week now
Please help

me Set up Wireguard on the server and client

server

interface: wg0
public key: JJC0GVWxA7Q6qucT0M3UKv2XtT3WC2Wn6s40/vpKSgY=
private key: (hidden)
listening port: 51820

peer: OFn7fLTj2bYcJ/sSjVCohV8lP+qQJ5w9jgd0EtZL5mM=
endpoint: ip:51820
allowed ips: 10.0.0.0/16, fd42:42:42::/60
latest handshake: 1 minute, 1 second ago
transfer: 762.36 KiB received, 7.00 MiB sent


client

interface: wg0
public key: OFn7fLTj2bYcJ/sSjVCohV8lP+qQJ5w9jgd0EtZL5mM=
private key: (hidden)
listening port: 51820

peer: JJC0GVWxA7Q6qucT0M3UKv2XtT3WC2Wn6s40/vpKSgY=
endpoint: ip:51820
allowed ips: 0.0.0.0/0, ::/0
latest handshake: 1 minute, 49 seconds ago
transfer: 368 B received, 1.44 KiB sent
persistent keepalive: every 25 seconds


When setting the argument on the router: option route_allowed_ips '1' access to the Internet falls off, although I send ping through the terminal, everything goes
ping
ping 116.202.218.117
PING 116.202.218.117 (116.202.218.117): 56 data bytes
64 bytes from 116.202.218.117: seq=0 ttl=55 time=78.735 ms
64 bytes from 116.202.218.117: seq=1 ttl=55 time=79.410 ms
64 bytes from 116.202.218.117: seq=2 ttl=55 time=74.433 ms
64 bytes from 116.202.218.117: seq=3 ttl=55 time=79.119 ms
64 bytes from 116.202.218.117: seq=4 ttl=55 time=77.931 ms
64 bytes from 116.202.218.117: seq=5 ttl=55 time=77.834 ms


and for 5 minutes the 2ip site with the server address is available, the rest of the sites without access
still manage to go into the router settings at the address of the wg0 interface

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question