Hello guys. I’ve got CHR Hosting Mikrotik Router ver 7.19.1 on my OVH Cloud VPS and one public IP.
Already i configured two mikrotics from my 2 destinations. They are connected to Cloud server. For more clear:
i would like to ping between MT1 and MT2 and their LAN’s. i would like to connect to hosts beetwen those LANs.
i already add IP->Routes on MT2 like 10.0.0.0/24 via 10.1.0.2 and MT1 192.168.1.0/24 via 10.1.0.3 but still can’t even ping.
Also i can only ping one interface from Server terminal - cant ping 10.1.0.2 and 10.1.0.3, only one address - for now 10.1.0.3
First of all how are you connecting to the two Mikrotik routers on the ground.
Its very unclear, what you have done so far and that is because no requirements have been stated etc..
Well that’s true - MT2 get public IP, but when im disconnecting WireGuard for example by reboot router, i cant establish agian connection between MT-1 and MT-2 till i’ll agian change port in firewall configuration and in WG configuration for random port. That’s why im trying Mikrotik VPS Router in model
LAN_1-MT1->CHR<-MT2-LAN_2. I would like to access from LAN_1 to LAN_2 and vice versa LAN_2 to LAN_1 via CHR VPS.
P.S MT-1 is based on mipsbe architecture and so i cant use Zero Tier.
Ahh I see, so the issue is more precisely
a. I am located at R2 and reboot router 2 and lose my connection via wireguard to Router 1
OR
b. I am located at R1 and reboot router 1 and lose my connection via wireguard to Router2
OR
c. I am located at R1 and via wireguard reboot router2 and lose my connection via wireguard to Router 2 ( wg doesnt come back after reboot )
Normally after a reboot, there should be a slight delay and then wireguard reconnects is my understanding so need to figure out the correct scenario.
I am located at R2 via WinBOX LAN, then goes for example restart and handshake wont establish / connections to even wg-1 interface (ping 10.1.0.1 is my wg-1 int).
I am located at R1 via WinBOX LAN and same situation like above (ping 10.1.0.2 wg-2 int)
CHR - restart same like above and 0 problems about reconnecting each wg tunnel. After 10-30 sec i’ve got each wg interface connected agian.
Okay, So if you reboot R2 while at R2, the wireguard connection fails to re-establish. That is not normal.
Can you confirm if your WANIP at R2 changes upon reboot?
Can you please post both configs R1 and R2
/export file=anynameyouwish ( minus router serial number, any public WANIP information, keys )
R1- Why is there a second bridge ( aka one for wan )??
R2 Do not name bridge LAN, its very confusing as LAN is already used on the router to denote all local subnets ( bridge subnet, vlans, and/or any subnets tied to etherports, or even wireguard ).
Its very confusing to try and read a config where the bridge is named lan, Just modify to bridge-lan for example.
R1- Why is there a second bridge ( aka one for wan )??
This is configuration for TV access and net from local service provider. Port 1 is the WAN, port 2,3,5 for 3 modems directly connected to 3 TV’s in my second house in 3 diffrent rooms, and port 4 to cisco unmanaged switch connected to devices like computer, console etc via ethernet cable.
R2 Do not name bridge LAN, its very confusing as LAN is already used on the router to denote all local subnets ( bridge subnet, vlans, and/or any subnets tied to etherports, or even wireguard ).
Its very confusing to try and read a config where the bridge is named lan, Just modify to bridge-lan for example.
already done - code has been updated
What is the purpose of the wireguard on Router 1?
i would like to get access to LAN behind R1 and LAN behind R2 - sometimes my parents need help with IT cases, and this is my offtime project to learn something new - maybe in the future i will need to know how to connect diffrent locations company into one network. So im looking best solutions, not only ZeroTier solutions or something like that.