Сделал так и google перестал работать. Почему так? /interface wireguardadd listen-port=51820 mtu=1420 name=wg0 private-key="$PRIVATE"/interface wireguard peersadd allowed-address=0.0.0.0/0 comment=wireguard endpoint-address=$HOST endpoint-port=51820 interface=wg0 persistent-keepalive=25s \ preshared-key="$PRESHARED" public-key="$PUBLIC"/ip addressadd address=$IP interface=wg0 network=$NETWORK/ip firewall natadd action=masquerade chain=srcnat out-interface=wg0
Сделал так и google перестал работать. Почему так? /interface wireguard
add listen-port=51820 mtu=1420 name=wg0 private-key="$PRIVATE"
/interface wireguard peers
add allowed-address=0.0.0.0/0 comment=wireguard endpoint-address=$HOST endpoint-port=51820 interface=wg0 persistent-keepalive=25s \
preshared-key="$PRESHARED" public-key="$PUBLIC"
/ip address
add address=$IP interface=wg0 network=$NETWORK
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wg0