To do this, go to System ‣ Gateways ‣ Single and add a new gateway. Choose your WireGuard interface and set the Gateway to dynamic.
With 19.7 gateway code changed (not Wireguard Code). You have to verify that your default gateway has "upstream" checked and your Wireguard gateaway not. Then this thing can't happen.
Internet:Destination Gateway Flags Netif Expire0.0.0.0/1 wg0 US wg0default ppp-default.m-onli UGS pppoe0[...]
Hi,thanks for your swift reply. I changed the interface from DHCP to ipv4 none. I also tried to add a gateway like in the guide:QuoteTo do this, go to System ‣ Gateways ‣ Single and add a new gateway. Choose your WireGuard interface and set the Gateway to dynamic. If I do so and put "dynamic" in the gateway's ip address field the gateway just won't appear in the list. Also there is no errormessage. If I put in the ip adress of my VPS server's tunnel interface (192.168.4.1) the gateway shows up. Maybe this is part of the new gateway code.
@Dark-Sider:So, you set the gateway IP to the real IP instead of "dynamic" and tick "disable routes" and have what exactly???
1. setup like usual2. tick "Disable routes"3. go to CLI and do a "route add <gwip> -iface wgX" (most important it lies in the range to "Allowed IPs")4. then add a gw for the assigned interface (ipv4 none) with the IP you added before5. set the firewall rule you want and add the gateway
route add 192.168.70.1/24 -face wg0
interface: wg0 public key: pSU90xYiwwv/K23GOnqKVUoGtw9YH+WuvC3tnxuyoEk= private key: (hidden) listening port: 51820peer: hDB112sXsxc9JpO4QbvoshrRiEZDwZ4idUv9ls3nyzk= endpoint: 174.226.7.136:3348 allowed ips: 192.168.70.1/32, 192.168.70.2/32 latest handshake: 2 minutes, 15 seconds ago transfer: 1.35 KiB received, 284 B sent persistent keepalive: every 25 seconds