Community discussions

MikroTik App

Search found 49 matches

by r0berts
Tue Jul 25, 2023 11:56 am
Forum: Beginner Basics
Topic: Using Hap AC lite with Mobile WiFi [SOLVED]
Replies: 15
Views: 10017

Re: Using Hap AC lite with Mobile WiFi [SOLVED]

@normis
Normund, sakiet lūdzu vai es varētu ar jums sazināties pa tiešo kādā ar Mikrotik saistītā personiskā jautājumā?

Paldies,
Roberts
by r0berts
Fri Jun 30, 2023 1:12 am
Forum: Beginner Basics
Topic: Cannot port forward through dstnat
Replies: 10
Views: 1809

Re: Cannot port forward through dstnat

Great, thanks a lot sindy. More understanding is really useful. By the way - if router's IP X.X.X.X port is forwarded (dstnat) from say 3333 to 22, address and port rewriting happens in prerouting chain at the very end. If I wanted to put in a rule that disables that by dropping packets going to X.X...
by r0berts
Thu Jun 29, 2023 5:36 pm
Forum: Beginner Basics
Topic: Cannot port forward through dstnat
Replies: 10
Views: 1809

Re: Cannot port forward through dstnat

Thanks krafg, I know I am behind CGNAT, that is why I got the L2TP connection. From the l2tp-aa interface there is one hop to that address.and the same to the other end of the tunnel. This way dstnat works through l2tp tunnel, but setting up routing was tricky due to lack of experience and many movi...
by r0berts
Thu Jun 29, 2023 5:25 pm
Forum: Beginner Basics
Topic: Cannot port forward through dstnat
Replies: 10
Views: 1809

Re: Cannot port forward through dstnat

Hi sindy, Many thanks this briliiantly explains where I was mistaken. 5 minutes before reading your very helpful reply I also was able to connect by replacing the routing-mark rule with one that was simply based on the 'souce address = my debian server address on LAN with source port 22' - which is ...
by r0berts
Thu Jun 29, 2023 3:57 pm
Forum: General
Topic: "L2TP Client" vs. "L2TP Server"
Replies: 9
Views: 2227

Re: "L2TP Client" vs. "L2TP Server"

Thanks sindy,

I worked quite a bit on that, but I am bogged down a little in mysterious connection not happening scenarios. I wrote it up here and added my config as well. If you could take a look, that would be much appreciated. viewtopic.php?p=1010537#p1010537
by r0berts
Thu Jun 29, 2023 3:03 pm
Forum: Beginner Basics
Topic: Cannot port forward through dstnat
Replies: 10
Views: 1809

Re: Cannot port forward through dstnat

Thanks, p3rad0x, My rules are a bit different. I have a setup where I am behind carrier grade NAT and need to SSH into my debian server. This is an illustration. My static IP is 100.100.100.100/32 and it has a L2TP connection on l2tp client interface l2tp-aa which has 100.100.50.50 as a gateway. For...
by r0berts
Thu Jun 29, 2023 9:47 am
Forum: Beginner Basics
Topic: Cannot port forward through dstnat
Replies: 10
Views: 1809

Re: Cannot port forward through dstnat

Hey, did you manage to solve your problem? I am stuck on something very similar
by r0berts
Thu Jun 29, 2023 9:21 am
Forum: General
Topic: Port forwarding rule on WAN interface doen't work when VPN Client connected
Replies: 5
Views: 455

Re: Port forwarding rule on WAN interface doen't work when VPN Client connected

Hi engel, did you manage to solve your problem? I have a pretty similar one (without Ipsec) and I am getting stuck.
by r0berts
Thu Jun 29, 2023 9:18 am
Forum: General
Topic: L2TP Configuration help needed
Replies: 1
Views: 415

Re: L2TP Configuration help needed

This is exactly my problem as well. I hope someone will help solve it. I understand that there is complexity because routing through lte1 interface is necessary to establish the L2TP tunnel, but then traffic (or at least some of it) needs to be routed via l2tp client interface. But that is proving d...
by r0berts
Wed Jun 28, 2023 7:17 pm
Forum: General
Topic: SSH into LAN over external IP from a L2TP tunnel
Replies: 6
Views: 830

Re: SSH into LAN over external IP from a L2TP tunnel

Thanks wiseroute and tdw! I think I did get seriously stuck. The goal seems so close, but yet I misunderstand something. Connection can be seen for a few seconds in the connection table marked with connection mark L2TP_CONN with state "syn-received" for a few seconds, then it disappears as...
by r0berts
Wed Jun 28, 2023 10:29 am
Forum: General
Topic: SSH into LAN over external IP from a L2TP tunnel
Replies: 6
Views: 830

Re: SSH into LAN over external IP from a L2TP tunnel

Sorry, I got stuck, could not quite understand the examples as I am not experienced and they are somewhat different to my scenario. So the questions that I have (ROS v 7.10 stable) 1. I have to mark new connection coming in through l2tp connection. Mangle rule on input chain with In-Interface l2tp s...
by r0berts
Tue Jun 27, 2023 4:08 pm
Forum: General
Topic: SSH into LAN over external IP from a L2TP tunnel
Replies: 6
Views: 830

Re: SSH into LAN over external IP from a L2TP tunnel

Great, that makes sense, just what I needed. I will read during the day and try in the evening. I will write results up more properly
by r0berts
Tue Jun 27, 2023 3:16 pm
Forum: Beginner Basics
Topic: Can there be a virtual external L2TP interface for inbound SSH?
Replies: 5
Views: 881

Re: Can there be a virtual external L2TP interface for inbound SSH?

Thanks @wiseroute, could you please have a look at the post https://forum.mikrotik.com/viewtopic.php?t=197388 I have nearly got the setup working, but I have a problem with how the ssh server connects back to the ssh client. My default route is through the regular lte interface and I am coming up sh...
by r0berts
Tue Jun 27, 2023 3:08 pm
Forum: General
Topic: SSH into LAN over external IP from a L2TP tunnel
Replies: 6
Views: 830

SSH into LAN over external IP from a L2TP tunnel

Hi all, I need to ssh into my home debian server (IP 192.168.89.200) that is behind a Mikrotik Chateau lte router. I have successfully set up a L2TP client connection to an ISP giving me an interface lt2tp-client with address (let's refer to it as) X.Y.Z.Z. This L2TP tunnel is needed so that I can h...
by r0berts
Sun Jun 25, 2023 1:01 pm
Forum: General
Topic: "L2TP Client" vs. "L2TP Server"
Replies: 9
Views: 2227

Re: "L2TP Client" vs. "L2TP Server"

Thanks, this is very helpful. I am at the stage where I have managed to achieve a client connection. But then I do not quite know how to make sure the connection is usable - i.e. when I try to ping from the router using the interface I get destination unreachable from the server (IP) I have connecte...
by r0berts
Mon Jun 19, 2023 7:08 pm
Forum: General
Topic: "L2TP Client" vs. "L2TP Server"
Replies: 9
Views: 2227

Re: "L2TP Client" vs. "L2TP Server"

Sorry to bother, but I still did not quite understand the difference. I understand that both l2tp-server and t2tp-client are used to establish a l2tp tunnel with a server (and I understand that this tunnel may not be encrypted). If I understand correctly, then l2tp-server establishes a connection an...
by r0berts
Sun Jun 18, 2023 7:07 pm
Forum: Beginner Basics
Topic: Can there be a virtual external L2TP interface for inbound SSH?
Replies: 5
Views: 881

Re: Can there be a virtual external L2TP interface for inbound SSH?

Thanks @wiseroute, I think I will better verify it for sure with them (AA). My understanding was that they would provide me with just an external IP address (static IP) and when I connect to that address, it would be tunnelled to my router and it would appear as if my router's l2tp-client-interface ...
by r0berts
Sun Jun 18, 2023 1:56 pm
Forum: Beginner Basics
Topic: Can there be a virtual external L2TP interface for inbound SSH?
Replies: 5
Views: 881

Can there be a virtual external L2TP interface for inbound SSH?

I am trying to solve a seemingly simple problem. Can I use L2TP connection in parallel to my main ISP connection? So that only inbound SSH uses L2TP but traffic from LAN goes its normal way as before. Let me explain. I have an ISP that has multiple NAT in front of me (CGNAT, I think). At home I have...
by r0berts
Sat Jun 17, 2023 8:54 pm
Forum: Scripting
Topic: Trying to get DynU DynamicDNS script working
Replies: 13
Views: 5038

Re: Trying to get DynU DynamicDNS script working

Thanks Optio and Rextended, If I understand correctly, then the router makes a https request and as long the line for connection to api says so, it is safe /tool fetch address=api.dynu.com src-path=$str mode=https dst-path=("/Dynu.".$ddnshost) The $str variable contains the sensitive infor...
by r0berts
Sat Jun 17, 2023 12:23 pm
Forum: Scripting
Topic: Trying to get DynU DynamicDNS script working
Replies: 13
Views: 5038

Re: Trying to get DynU DynamicDNS script working

Query on security:

Could someone explain to me please, why it is safe to send username and password as GET parameters?
?username=$ddnsuser&password=$ddnspass&hostname=$ddnshost&myip=$currentIP

Many thanks,

Roberts
by r0berts
Wed Oct 20, 2021 10:19 am
Forum: Wireless Networking
Topic: LHG LTE6 not working with EE UK sim
Replies: 1
Views: 2593

Re: LHG LTE6 not working with EE UK sim

Hi Stuart, It is not very obvious, but sometimes there may be an issue with APN settings - I had it with vodafone (but not with 3 - mobile). If you leave checked "Use Network APN" there can be a problem that you do not have internet - cellular connects, but IP setup is just not done - you ...
by r0berts
Tue Oct 19, 2021 10:58 pm
Forum: Beginner Basics
Topic: Chateau LTE12 - signal / antenna query
Replies: 4
Views: 1976

Re: Chateau LTE12 - signal / antenna query

Thanks SiB, Your replies were very helpful. I researched cell tower proximity, did a little wardriving and changed the network provider. M-ANT50 omnidirectional was giving quite good reception as well with rssi: -65dBm rsrp: -96dBm rsrq: -11dB sinr: 2dB But then I attached Poynting directional anten...
by r0berts
Mon Sep 06, 2021 10:00 pm
Forum: Beginner Basics
Topic: Chateau LTE12 - signal / antenna query
Replies: 4
Views: 1976

Re: Chateau LTE12 - signal / antenna query

Thanks, this is what I also thought.

But how to choose an antenna? Or is there a recommended model for a situation like that.

Best wishes,

Roberts
by r0berts
Mon Sep 06, 2021 2:26 pm
Forum: Beginner Basics
Topic: Chateau LTE12 - signal / antenna query
Replies: 4
Views: 1976

Chateau LTE12 - signal / antenna query

I have a Chateau router bought in Latvia; it works well. I moved to an area in London that has patchy coverage for 3(IDnetwork) and LTE speed is on the low side. My question is: is there a Mikrotik LTE antenna(s) that could help me get a better signal instead of MANT-50 that I am using at the moment...
by r0berts
Mon Oct 15, 2018 10:06 pm
Forum: Beginner Basics
Topic: WAP-LTE PoE voltage question [SOLVED]
Replies: 3
Views: 1355

Re: WAP-LTE PoE voltage question [SOLVED]

Thank you both guys, I will do that Poe 19V. Using the 12 V automotive could be a good thing too, but it is potentially more fiddly as I need to move the system and power up at various places. So having PoE power from either battery or wall plug works best for me - if I moved the system where I want...
by r0berts
Mon Oct 15, 2018 3:20 pm
Forum: Beginner Basics
Topic: WAP-LTE PoE voltage question [SOLVED]
Replies: 3
Views: 1355

WAP-LTE PoE voltage question [SOLVED]

I have WAP-LTE kit and works flawlessly in UK. I know the supplied power block provides 24V to the device through the supplied PoE injector. I have a quite powerful Li battery that can supply 5, 12, 16 or 19 V DC to power a laptop. The way I use the kit I want to connect the battery to PoE injector ...
by r0berts
Mon Oct 08, 2018 11:27 am
Forum: Beginner Basics
Topic: Can HAP-L wifi be on same subnet as main LAN? [SOLVED]
Replies: 3
Views: 1589

Re: Can HAP-L wifi be on same subnet as main LAN? [SOLVED]

Thanks very much, this just works and it is very simple. It is great to have an additional wifi station and have all hosts on the same network. In my opinion this is a very strong side for MikroTik - I now have a fully fledged router on my home network that I can learn and play with. I thought mysel...
by r0berts
Mon Oct 08, 2018 9:05 am
Forum: Beginner Basics
Topic: Can HAP-L wifi be on same subnet as main LAN? [SOLVED]
Replies: 3
Views: 1589

Can HAP-L wifi be on same subnet as main LAN? [SOLVED]

Hi I wonder if you can help. I have hAP-lite. My home DSL router provides one access point (not particularly stable) and I have several computers connected with ethernet cables too. One of them is a raspberry-PI that runs DNSMASQ - so provides DHCP and DNS for the local network. What I want is to ha...
by r0berts
Tue Aug 21, 2018 3:47 pm
Forum: Wireless Networking
Topic: wAP LTE kit - phenomenally bad performance
Replies: 20
Views: 7931

Re: wAP LTE kit - phenomenally bad performance

This is good to know dc2. Did you have any difficulty at all installing CAT6 modem? And which one did you use?

Thanks,

Rob
by r0berts
Sat Aug 04, 2018 12:06 am
Forum: Beginner Basics
Topic: Is export logically arranged?
Replies: 1
Views: 766

Is export logically arranged?

When we dump router configuration via export are the commands arranged in some internally logical hierarchy or are they arranged in order of sequence of entry? I ask because I imagine it would be easier to read config if it followed some defined structure. Maybe there is a way of changing this sort ...
by r0berts
Thu Aug 02, 2018 6:05 pm
Forum: Beginner Basics
Topic: Using Hap AC lite with Mobile WiFi [SOLVED]
Replies: 15
Views: 10017

Re: Using Hap AC lite with Mobile WiFi [SOLVED]

Thanks, good to know!
by r0berts
Thu Aug 02, 2018 3:03 pm
Forum: Scripting
Topic: Syntax highlighting and completions for Sublime Text
Replies: 41
Views: 82008

Re: Syntax highlighting and completions for Sublime Text

Thanks, this is great!
by r0berts
Thu Aug 02, 2018 12:01 pm
Forum: Beginner Basics
Topic: Is there a lightweight router that can serve wifi from mobile 3G/4G connection
Replies: 0
Views: 585

Is there a lightweight router that can serve wifi from mobile 3G/4G connection

Hi, I really like the hAP lite RB941-2nD router that I have. I also like the fact I can power it from my laptop via micro USB power socket. Is there something similarly portable by MikroTik where I could get internet connection from mobile networks? I understand there was a similar product which had...
by r0berts
Thu Aug 02, 2018 12:45 am
Forum: Beginner Basics
Topic: Set vlan interface as DHCP server [SOLVED]
Replies: 12
Views: 11384

Re: Set vlan interface as DHCP server [SOLVED]

A good point
by r0berts
Wed Aug 01, 2018 11:21 pm
Forum: Beginner Basics
Topic: Set vlan interface as DHCP server [SOLVED]
Replies: 12
Views: 11384

Re: Set vlan interface as DHCP server [SOLVED]

Out of interest - what would be use for VLANs on a home network? Except of course specifically learning about the technology, but otherwise at home network I have yet to find use for VLANs therefore I am happy to have avoided the complication so far.
by r0berts
Wed Aug 01, 2018 11:15 pm
Forum: Beginner Basics
Topic: Using Hap AC lite with Mobile WiFi [SOLVED]
Replies: 15
Views: 10017

Re: Using Hap AC lite with Mobile WiFi [SOLVED]

Nexar, out of interest - did your hAP lite have a plastic tab in front of the usb port? Mine has a plastic tab - and I do not know if there is a real usb port behind it and right next to it there is a button called "MODE" - I do not quite know what that does. Model id RB941-2nD
by r0berts
Wed Aug 01, 2018 3:42 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

Thanks, that is great. Yes, I definitely can edit the login page. All that remains to be resolved is how to convince android and ios users that internet is OK, when they connect to the portal, if I do not have working internet on the side of ether1 (e.g. as it might be after a lecture in a different...
by r0berts
Wed Aug 01, 2018 3:09 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

Thank you, this absolutely makes sense. So if I understand right, wlan1 in my setup should not be part of LAN or WAN lists. You have been very helpful. Could you possibly have a look at my inital query and maybe you would have a suggestion for it? https://forum.mikrotik.com/viewtopic.php?f=13&t=...
by r0berts
Wed Aug 01, 2018 2:48 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

Thanks, that did not come to my mind. So Interface List defines which interfaces are in which firewall rule group? It seems that for the hotspot pinging started working after I logged in via browser, which would make sense. After I have logged in, then the firewall rules change and I can browse anyt...
by r0berts
Wed Aug 01, 2018 2:33 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

I added wlan1 back to the bridge. What I got after a while was that wifi laptop could get properly configured via DHCP and was able to ping and browse internet. However the strange problem with the other laptop that connects vie ethernet remains - it cannot connect to the network. Maybe there is int...
by r0berts
Wed Aug 01, 2018 2:00 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

I can see that I have not deleted the pool wi-pool which is the same as dhcp-pool2 but I wouldn't think that should matter; wi-pool I am not using at all at the moment. Strange that on DHCP server leases list I can see the wireless laptop has connected (but does not ping) and the wired laptop connec...
by r0berts
Wed Aug 01, 2018 1:56 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

Thanks, this is my config: min@MikroTik] > export hide-sensitive # aug/01/2018 11:54:28 by RouterOS 6.42.6 # software id = UNBA-EG2A # # model = RouterBOARD 941-2nD # serial number = 8B1008CFA497 /interface bridge add admin-mac=CC:2D:E0:7C:6B:31 auto-mac=no comment=defconf name=bridge /interface wir...
by r0berts
Wed Aug 01, 2018 1:51 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Re: Does wlan1 need to be part of bridge? [SOLVED]

Thanks. In NAT section of firewall I have these rules: [admin@MikroTik] > ip firewall nat print Flags: X - disabled, I - invalid, D - dynamic 0 D chain=dstnat action=jump jump-target=hotspot hotspot=from-client 1 D chain=hotspot action=jump jump-target=pre-hotspot 2 D chain=hotspot action=redirect t...
by r0berts
Wed Aug 01, 2018 1:39 pm
Forum: Beginner Basics
Topic: Does wlan1 need to be part of bridge? [SOLVED]
Replies: 13
Views: 2817

Does wlan1 need to be part of bridge? [SOLVED]

I am a bit stuck. I am configuring hAPL - reset it twice already. I removed wlan1 port from bridge in order to be able to set up a dhcp server with different ip address pool on wlan1. My test client (linux laptop) can connect to the AP and get the correct IP address, however cannot ping anything but...
by r0berts
Tue Jul 31, 2018 9:44 pm
Forum: Beginner Basics
Topic: Walled garden for one computer.
Replies: 2
Views: 949

Re: Walled garden for one computer.

Thanks for the encouragement. Are there ways how to smoothly get around connection detectors on android and ios? Can I perhaps put relevant links on my webserver and if so - how?
by r0berts
Tue Jul 31, 2018 3:22 pm
Forum: Beginner Basics
Topic: RouterOS key for learning [SOLVED]
Replies: 4
Views: 2928

Re: RouterOS key for learning [SOLVED]

Thank you, that was a breeze; very helpful, it is up and running. So with this image I get the same routerOS and I can work with it in the same way - SSH or web based or WinBox too?
by r0berts
Tue Jul 31, 2018 1:29 pm
Forum: Beginner Basics
Topic: RouterOS key for learning [SOLVED]
Replies: 4
Views: 2928

RouterOS key for learning [SOLVED]

Hi, I am setting up my hAP that I bought from amazon and I am trying to learn the MkroTik system. My aim is to set up a local data collection system of walled garden type that can be used in teaching, patient feedback etc. The system components would be a linux server on laptop and a hAPL router; wh...
by r0berts
Mon Jul 30, 2018 4:22 pm
Forum: Beginner Basics
Topic: Walled garden for one computer.
Replies: 2
Views: 949

Walled garden for one computer.

Hi there, I am fairly experienced with Linux, but less so with routing and routerOS. I bought hAPl and I do need some advice. http://i63.tinypic.com/2mmftp1.png . I want to set up a system that reliably provides access to a survey served from a laptop to anyone who connects to the WiFi provided by h...