and set up Wireguard VPN as per the above instructions and uploaded a config file provided by my VPN provider.
Next, I inserted the Pi4 between my Broadband modem and my Netgear R8000. I plugged the LAN cable from the Broadband modem to the Ethernet Adaptor on the Pi4 and plugged a LAN cable from the fixed port on the Pi to the WAN port on the R8000.
What is happening now is my Pi4 is acting as a router but there is no traffic running through the VPN interface.
When I run IpLeak or WhatsmyIP the results show and IP address of my ISP.
I have working internet and can access all devices on my home network both wired and wirelessly.
Can anyone spare the time to help me sort this out? I've tried contacting the creator of the instructions but they have not responded to my query or any other query actually.
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
You do not appear to have an endpoint host and port for the remote peer (the vpn service), so there is no connection possible.
You have redacted details that are not necessary to obfuscate (such as the ip addresses of your lan), but you have left your keys in the post, which are sensitive data. You should request or generate a new set of keys because these can no longer be considered secure.
I also recommend making a separate firewall zone for your wireguard connection so that you can use it as a kill switch (if desired) should the vpn stop working.
Can you explain how I find the endpoint host and port for the remote peer (the vpn service)?
You should request or generate a new set of keys because these can no longer be considered secure. Does this mean I download a new config from my VPN provider and update the existing keys?. Or simply upload over the existing config?
I also recommend making a separate firewall zone for your wireguard connection so that you can use it as a kill switch (if desired) should the vpn stop working. - How is this done?
Now I am in trouble...
I tried updating the wire guard details and now I do not have internet! I do have access to OpenWrt
How can I get internet back?
r/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd5a:e181:8843::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.2.1'
option broadcast '192.168.2.255'
config device
option name 'eth0'
config interface 'WAN'
option proto 'dhcp'
option device 'eth1'
option peerdns '0'
list dns '1.1.1.1'
list dns '8.8.8.8'
list dns '4.2.2.2'
list dns '9.9.9.9'
list dns '27.50.74.3'
list dns '27.50.74.5'
config interface 'PureVPN_Melb'
option proto 'wireguard'
option private_key
list addresses '172.18.18.187'
list dns '1.1.1.1'
list dns '8.8.8.8'
list dns '27.50.74.3'
list dns '27.50.74.5'
list dns '9.9.9.9'
config wireguard_PureVPN_Melb
option description 'Australia-wg (2).conf'
option public_key '
option private_key '
option endpoint_host 'sx150724-wg.pointtoserver.com'
option endpoint_port '51820'
config device
option name 'PureVPN_Melb'
option mtu '1500'
option ipv6 '0'