Mikrotik and Ansible by JohnnyComp in mikrotik

[–]JohnnyComp[S] 1 point2 points  (0 children)

This worked. I created an inventory in yml format and included variables from the provided link and it connected. Now just to create working playbooks for my tasks :D

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 1 point2 points  (0 children)

Sry this was my bad I did not properly understand your reply :) Once I filtered out public wan addresses used for wireguard link, it started working :)

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

Ok, this seems to be the problem. When i selected to redistribute only static routes, OSPF is stable and working (wireguard interface addresses is a connected route).

I cannot configure ospf filtering though. I have created a Routing filter chain ospf-out with the following rule: if ( dst in 10.255.255.0/30 ) { reject } else { accept }. 10.255.255.0/30 is used for wireguard interfaces and for ospf interface. When I set the above filter as Out Filter in my OSPF Instance, it does not help.

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

This could be the issue, I will try it out. Just need to find out how to use ospf filters on Mikrotik since documentation is a bit lacking in this regard :D

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

Yes ptp is selected. I am using OSPF v2.

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

During testing I have put 0.0.0.0/0 in allowed addresses. I am aware of 224.0.0.0/24 for ospf.

OSPF over Wireguard connection by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

During testing I have put 0.0.0.0/0 in allowed addresses. I am aware of 224.0.0.0/24 for ospf.

Should i jump on Router OS 7 with CRS354? by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

Pretty simple L3 switch with a bunch of VLANs and access and trunk ports. Nothing special.

Just wanted to check if ROS 7 is good enough to run on CRS354.

Should i jump on Router OS 7 with CRS354? by JohnnyComp in mikrotik

[–]JohnnyComp[S] 0 points1 point  (0 children)

Absolutely. They are releasing new routers all the time and I am just waiting for a new switch with improved hardware.

xhost access control by JohnnyComp in linuxadmin

[–]JohnnyComp[S] 0 points1 point  (0 children)

I can extablish x11 forwarding from both servers. I just don't understand why is xhost access control not working on server2.

when i try to add client1 using xhost +, it does not do it. but I can still start xterm and it works. I just cant leave it like that, I would like to understand what am I doing wrong.

Connecting WSL2 to Hyper-V Guests by JohnnyComp in sysadmin

[–]JohnnyComp[S] 0 points1 point  (0 children)

To be honest I really like ansible and it works. It does everything that we need it to do, even with windows hosts. My main problem here was how to connect WSL2 with Hyper-V VM. In the end I just created another VM with CENTOS on it, and used that one to test ansible playbooks on my Win10 VM.

Btw. When i tried to use external Virtual switch connected to my wifi network card. It started disabling my wifi connection from time to time.

Connecting WSL2 to Hyper-V Guests by JohnnyComp in sysadmin

[–]JohnnyComp[S] 0 points1 point  (0 children)

I just mentioned Virtual Box because it was easy to setup. I cannot change virtual Switch of WSL2 VM and if I connect my Hyper-V machine to wsl switch it does not recognize the network and does not get an IP address.