Community discussions

MikroTik App

Search found 33 matches

by resca
Fri Feb 16, 2024 10:15 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

Linux device should produce both a private key and a public key. In this case, there is no way to have just one peer for both Android and Linux. Thus the statement that linux had the wrong private key makes no sense to me. Linux had the wrong private key while I placed it trusting the configuration...
by resca
Fri Feb 16, 2024 6:24 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

FIXED!!! The idea from the Fedora forum (double encryption) was not winning! The problem was the wrong Private Key in linux wg0.conf. Basically, while the mikrotik produced configuration file (and QR code) is applicable for Android, it doesn't work for Linux. Once as Private Key I used the same one ...
by resca
Fri Feb 16, 2024 10:13 am
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

UPDATE: the present opinion of Fedora experts is that the Handshake Initiation packet is encrypted ... twice! :shock:
by resca
Fri Feb 16, 2024 9:51 am
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

The standard system log in RouterOS for Wireguard lacks logging at the packet level so you need to use WinBox "Packet Sniffer" to trace the Wireguard ingress/egress traffic. I used it and I see the incoming "Handshake Initiation" packet coming in. If the Linux machine's interfac...
by resca
Thu Feb 15, 2024 6:46 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

When testing your Linux WireGuard Config following link provides you with excellent clues Yes, I am between B1 and B2. I am afraid English is not my mother tongue and I am not able to explain something from the very beginning: -The handshake packet is sent by Linux and it is received by MT: i see i...
by resca
Thu Feb 15, 2024 1:13 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

I had a quick glance at the configuration, though only for WireGuard and the firewall. Everything seems to be in order, and considering that the mobile devices are working, there probably isn't any issue with your RB2011. Thus, unfortunately you'll have to continue troubleshooting with your Linux b...
by resca
Wed Feb 14, 2024 5:21 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

Yes full config please. Also 0.0.0.0/0 is fine on the android but NOT on the mikrotik This is the full config. http://www.rescas.eu/listing/download/public/pippo.zip ... or you need it pasted in full text into a code block (quite long!)? Can you explain, in few words, while android connects fine, w...
by resca
Wed Feb 14, 2024 4:14 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

From the little revealed: Looking at your linux settings. - missing keep alive Mikrotik. Allowed IPs 0.0.0.0/0 is wrong. Best to post complete MT config minus sensitive bits. I ignored the post thus far due to this omission. The problem is not yours its the lack of guidance provided by the site, to...
by resca
Wed Feb 14, 2024 9:04 am
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

Too funny Larsa, I wonder how many times that needs to be stated, to "See the Light" regarding ensuring first posts are relevant . :-) Death by a 1000 cuts LOL.. I simply dont help those that dont post the required information anymore. I tried to make it better but failed. :-) I worked in...
by resca
Tue Feb 13, 2024 9:47 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

To check how the raw Wireguard packets might appear on the Mikrotik, use Winbox by going to "Tools -> Packet Sniffer". Select the WAN interface and port 13231. Click on [Apply], [Start], and finally the [Packets] button to open the window where the tracing is displayed. Remember to press ...
by resca
Tue Feb 13, 2024 2:45 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

Hi, are you sure the config is correct? No, I am quite sure it isn't! First of all you do not need to have the peer private key on the mikrotik. Yes, I do not need, and this is possibly the point! Even if I don't need, when I configure the peer, Mikrotik is so kind to prepare for me a sample of the...
by resca
Tue Feb 13, 2024 12:24 am
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Re: Wireguard from Linux not working [SOLVED]

@larsa, I understand my description is not complete! Let me say in other words: -I used WireShark on Linux and I see the "Handshake Initiation" transmission. -I used Packet Sniffer on Mikrotik and I see the incoming "Handshake Initiation" packet. -I added an Action-log on my fire...
by resca
Mon Feb 12, 2024 6:11 pm
Forum: General
Topic: User poll about using Winbox
Replies: 103
Views: 82886

Re: User poll about using Winbox

1) Yes, always, to save my preferred layout and re-use it specifying it in the command line. 2) To save and reload the windows layout. 3) Publish the .viw file layout and/or make it readable/editable. 4) No: layout would be better, but this is marginal. 5) I learned a lot of people don't know what t...
by resca
Mon Feb 12, 2024 5:22 pm
Forum: General
Topic: Wireguard from Linux not working [SOLVED]
Replies: 36
Views: 2342

Wireguard from Linux not working [SOLVED]

Hello, a few days ago, I configured my Mikrotik router with Wireguard to act as a server for some of my devices. I then installed Wireguard on two Android phones, using the parameters that are automatically proposed when generating the Peer on the router (I just had to add the Endpoint) and they bot...
by resca
Sun Jan 28, 2024 9:28 am
Forum: Beginner Basics
Topic: strongSwan and dynamic IP address
Replies: 2
Views: 385

Re: strongSwan and dynamic IP address

I entered my case on the subsection Beginner Basics , not in the section Experts , for this reason your kind reply sounds like a: you cannot ! I may have an idea and I for sure can find documentation to write and run a script, but I certainly cannot add a script to your dhcp/pppoe client on the Rout...
by resca
Sat Jan 27, 2024 7:04 pm
Forum: Beginner Basics
Topic: strongSwan and dynamic IP address
Replies: 2
Views: 385

strongSwan and dynamic IP address

My MikroTink router is running v7.12.1, I managed to create a IKEv2 VPN to remotely connect my Android phone thanks to the useful script IKEv2-server-autoscript.rsc found on Github and it used to wok fine for several days. Than suddenly stopped to work. After a very hard (for me!) investigation, I f...
by resca
Fri Apr 01, 2022 4:59 pm
Forum: Beginner Basics
Topic: vpn devices don't see local dns
Replies: 5
Views: 1662

Re: vpn devices don't see local dns

Thanks everybody for the great help.
Useful forum.!
by resca
Fri Mar 25, 2022 8:27 pm
Forum: Beginner Basics
Topic: vpn devices don't see local dns
Replies: 5
Views: 1662

vpn devices don't see local dns

On my MikroTik router, I enabled VPN from the quick config page and I can access my home network from my Android phone or even form a remote Linux box. On the router, I also enabled a static DNS that resolves the local names (xxx.lan style), it works for local devices and it falls back to the provid...
by resca
Mon Feb 21, 2022 5:08 pm
Forum: General
Topic: OpenVPN Connect v3.2.5 on Android not connecting
Replies: 4
Views: 4551

Re: OpenVPN Connect v3.2.5 on Android not connecting

You are several steps ahead of me!!!
How did you create the .ovpn file?
And, my further question would be: where did you get this .secret file?
I just generated ca and branch certificates and the branch key, nothing else.
Thanks.
by resca
Sun May 07, 2017 10:20 am
Forum: Beginner Basics
Topic: Two Devices on the same WiFi don't talk together
Replies: 7
Views: 2461

Re: Two Devices on the same WiFi don't talk together

If your hosts are windows based
Unfortunately, two Android phones, or one Android and one ESP or a Linux or any combinations of them are not Windows hosts. The problem is between any two units on the same WiFi network and, in my case, I have no Windows boxes on the WiFi.
by resca
Fri May 05, 2017 6:50 pm
Forum: Beginner Basics
Topic: Two Devices on the same WiFi don't talk together
Replies: 7
Views: 2461

Re: Two Devices on the same WiFi don't talk together

I am very surprised MikroTik nor any external expert gave some help for a so solid and blocking problem. I must say I am very disappointed a potentially so nice product, rich of features, is so poor in documentation, not to say about the not existing Customer Support. That said, considering a lot of...
by resca
Thu Apr 27, 2017 4:02 pm
Forum: Beginner Basics
Topic: Two Devices on the same WiFi don't talk together
Replies: 7
Views: 2461

Re: Two Devices on the same WiFi don't talk together

f possible may you share an export of the device I want to replciate it on my device . Here it is (I hope!) The client2client communication generally is working without any additional effort on the routeros I totally agree. Let me add an other couple of considerations: -in the past, I had a MikroTi...
by resca
Thu Apr 27, 2017 10:03 am
Forum: Beginner Basics
Topic: Two Devices on the same WiFi don't talk together
Replies: 7
Views: 2461

Re: Two Devices on the same WiFi don't talk together

did you try to modify the configuration changing bridge-mode=disabled Yes, unfortunately I already tried that and it is in the current, not working, configuration. After my first post, I made several additional tests and I can say that ESP is meaningless: I have almost the same behaviour with any t...
by resca
Wed Apr 26, 2017 11:51 am
Forum: Beginner Basics
Topic: Two Devices on the same WiFi don't talk together
Replies: 7
Views: 2461

Two Devices on the same WiFi don't talk together

Basic configuration is: one WiFi access point, one P.C. connected to it via Ethernet cable, one ESP386 and one Android phone connected to the A.P. via WiFi. Ping is enough to see the problem. Ping from Android to P.C. is fine. Ping form the A.P. console to the WiFi devices is fine and immediate. Pin...
by resca
Tue Apr 25, 2017 4:44 pm
Forum: Wireless Networking
Topic: Two devices on the same WiFi cannot talk
Replies: 3
Views: 1052

Re: Two devices on the same WiFi cannot talk

Thanks for the useful help!
by resca
Wed Apr 05, 2017 4:19 pm
Forum: Wireless Networking
Topic: Two devices on the same WiFi cannot talk
Replies: 3
Views: 1052

Re: Two devices on the same WiFi cannot talk

So, I guess I am the only one in the world with a problem with two devices connected to the same Mikotik A.P.?
by resca
Fri Mar 31, 2017 8:07 pm
Forum: Wireless Networking
Topic: Two devices on the same WiFi cannot talk
Replies: 3
Views: 1052

Two devices on the same WiFi cannot talk

Hello everybody! More details follow, but I start with: YES, I do have default-forwarding=yes! One WiFi device connected to a MikroTik 951Ui-2HnD running RouterOS 6.38.5 cannot be accessed from ANY other device connected to the same 951Ui-2HnD, but works fine with ANY device connected to one Etherne...
by resca
Thu Mar 23, 2017 11:35 am
Forum: Wireless Networking
Topic: Sniffing WiFi traffic
Replies: 2
Views: 1679

Re: Sniffing WiFi traffic

>Tools to trouble shoot are Tools > Torch and Tools > Packet sniffer. >Torch temporarily shows what interfaces packets are coming and going. Ok, I don't think torch is very useful in my case and with sniffer I just see: wlan1 9.366 49 <- CC:3A:61:8C:2F:98 FF:FF:FF:FF:FF:FF 10.3.50.51: who has 10.3.5...
by resca
Mon Mar 20, 2017 4:07 pm
Forum: Wireless Networking
Topic: Sniffing WiFi traffic
Replies: 2
Views: 1679

Sniffing WiFi traffic

I have a 951Ui-2HnD, ROS 6.38.5, acting as a PPPoE Router with some local connected PCs and some devices connected through WiFi. Everything works fine but I have a problem with WiFi I cannot investigate while I cannot find the correct tool (if any) to check what is going on. Let's see the significan...
by resca
Sat Mar 11, 2017 5:35 pm
Forum: General
Topic: Merge configuration lines
Replies: 2
Views: 755

Re: Merge configuration lines

Yes, thanks, finally I did it. With the help of the old and good "windiff" that shows the differences between two ascii files and similar routes, it was not so hard. I just faced some duplicate commands in the DHCP config: not too bad to identify and remove.
by resca
Thu Mar 09, 2017 2:19 pm
Forum: General
Topic: Merge configuration lines
Replies: 2
Views: 755

Merge configuration lines

I have an HexLite with a quite complex configuration I have perfected for my needs over the years, and it works perfectly. Now I bought a new RB951Ui-2hND and I managed to configure it as a pure Access Point. Presently it is connected to one port of the Hexlite. Noticing the RB951Ui-2hND is exactly ...
by resca
Sat Mar 26, 2016 3:20 pm
Forum: Beginner Basics
Topic: Accessing a web server [through script]
Replies: 2
Views: 938

Re: Accessing a web server [through script]

Maybe
/tool fetch url="http://www.example.com/" mode=http
will help you
Yes, that is exactly what I need. Just tested: works fine. Thanks!
by resca
Sat Mar 26, 2016 12:37 pm
Forum: Beginner Basics
Topic: Accessing a web server [through script]
Replies: 2
Views: 938

Accessing a web server [through script]

It's a couple of days I am searching Internet and THIS forum, but I cannot find anyone asking this... I simply need to access every two o so minutes a specific page on a web server (http->PHP). I really don't need to capture/process the answer while my need is just to activate the PHP script on the ...