Hello, I have two MTs and I made Wireguard connection between them:
MT1’s WG IP is 10.74.75.1/30, and MT2’s WG IP is 10.74.75.2/30 and they both can ping each other.
MT1’s internal IP is 192.168.100.8, and MT2’s IP is a public IP (it’s an MT VPS).
My laptop is connected to MT1. I changed my laptop’s gateway to 192.168.100.8 but nothing changes and if I google my IP, I still see my current internet IP instead of MT2’s IP.
This is my MT1’s route detail.
[admin@MikroTik] > /ip/route/print detail stats
Flags: D - dynamic; X - disabled, I - inactive, A - active; c - connect, s - static, r - rip, b - bgp, o - ospf, i - is-is, d - dhcp, v - vpn, m - modem, y - bgp-mpls-vpn; H - hw-offloaded; + - ecmp
0 Is dst-address=0.0.0.0/0 routing-table=main pref-src=“” gateway=wireguard1 immediate-gw=wireguard1 check-gateway=ping distance=1 scope=30 target-scope=10 suppress-hw-offload=no1 As dst-address=0.0.0.0/0 routing-table=main pref-src=“” gateway=192.168.100.1 immediate-gw=192.168.100.1%ether1 distance=1 scope=30 target-scope=10 suppress-hw-offload=no
DAc dst-address=10.74.75.0/30 routing-table=main gateway=wireguard1 immediate-gw=wireguard1 distance=0 scope=10 suppress-hw-offload=no local-address=10.74.75.2%wireguard1
DAc dst-address=192.168.100.0/24 routing-table=main gateway=ether1 immediate-gw=ether1 distance=0 scope=10 suppress-hw-offload=no local-address=192.168.100.8%ether
I don’t know why my first route is inactive.
Can you help me?
Update1:
Connection topology to my laptop is:
I have an ADSL modem (DHCP is off). Mikrotik is connected to Modem via LAN cable (in MT, DHCP is off too). Laptop device is connected to Mikrotik via LAN. I did set manually IP to my laptop:
IP: 192.168.100.4
Subnet: /24
Gateway: 192.168.100.8 IMT’s IP)
Modem’s IP is 192.168.100.1.
Update2:
When I add new route via this command, my laptop has no internet anymore and I should delete the route:
/ip/route/add dst-address=0.0.0.0/0 gateway=wireguard1
Then when I print the routes, the new route is active but I have no internet access.
