Community discussions

MikroTik App

Search found 15 matches

by ofirule
Tue Nov 05, 2019 5:00 pm
Forum: General
Topic: can't delete firewall nat rule in script [SOLVED]
Replies: 3
Views: 910

Re: can't delete firewall nat rule in script [SOLVED]

Option 2 outputed an error : [admin@MikroTik] > ip firewall nat remove [ ip firewall nat find dst-port=8103 ] bad command name ip (line 1 column 26) [admin@MikroTik] > ip firewall nat remove [ ip firewall nat find dst-port=8103 and action=dst-nat ] bad command name ip (line 1 column 26) option 1 did...
by ofirule
Tue Nov 05, 2019 4:29 pm
Forum: General
Topic: can't delete firewall nat rule in script [SOLVED]
Replies: 3
Views: 910

can't delete firewall nat rule in script [SOLVED]

Board info [admin@MikroTik] > system resource print uptime: 2w4d23h44m21s version: 6.44.2 (stable) build-time: Apr/01/2019 12:47:57 factory-software: 6.40.5 free-memory: 210.5MiB total-memory: 256.0MiB cpu: MIPS 1004Kc V2.15 cpu-count: 4 cpu-frequency: 880MHz cpu-load: 0% free-hdd-space: 4.8MiB tota...
by ofirule
Sun Oct 27, 2019 10:38 am
Forum: General
Topic: 1:1 mapping of IP between networks [SOLVED]
Replies: 1
Views: 731

Re: 1:1 mapping of IP between networks [SOLVED]

After better understanding the purpose of action=dst-nat and action=netmap I found a solution. Basically I need to expose ip: 10.6.0.11 for ether3 So the following did the job: /ip firewall nat add chain=dstnat dst-address=10.6.0.11 action=dst-nat to-addresses=10.8.5.254 Note: It didn't work for ip:...
by ofirule
Thu Oct 24, 2019 6:19 pm
Forum: General
Topic: 1:1 mapping of IP between networks [SOLVED]
Replies: 1
Views: 731

1:1 mapping of IP between networks [SOLVED]

Network diagram attached. My board (Mikrotik RBM33G) is responsible for multiple subnets but is connected to an external network via ether3. In ether3 my board is connected with the following IP: 10.8.5.20 netmask 255.255.255.0 (external network). In bridge1 my board is responsible (runs a dhcp serv...
by ofirule
Wed Sep 25, 2019 5:47 pm
Forum: General
Topic: http request to device in a static route takes a long time [SOLVED]
Replies: 4
Views: 842

Re: http request to device in a static route takes a long time [SOLVED]

I chose to update the firewall rules on router1. needed to just accept forwarding from router1 net to router2 net. This is the new firewall config: /ip firewall filter add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked...
by ofirule
Tue Sep 24, 2019 3:41 pm
Forum: General
Topic: http request to device in a static route takes a long time [SOLVED]
Replies: 4
Views: 842

Re: http request to device in a static route takes a long time [SOLVED]

Router1 config (removed config only from: "/ip route", "/ip dns static" and "/ip dhcp-server lease" ) [admin@MikroTik] > export hide-sensitive # sep/24/2019 15:09:45 by RouterOS 6.45.6 # software id = S8W1-4UHM # # model = RB4011iGS+5HacQ2HnD # serial number = B3A30A963E1A /interface bridge add admi...
by ofirule
Tue Sep 24, 2019 12:47 pm
Forum: General
Topic: http request to device in a static route takes a long time [SOLVED]
Replies: 4
Views: 842

http request to device in a static route takes a long time [SOLVED]

I have the following two boards: 1) connected to my ISP via WAN , and has Ethernet and WIFI for LAN [admin@MikroTik] > system resource print uptime: 1w1d16h50m31s version: 6.45.6 (stable) build-time: Sep/10/2019 09:06:31 factory-software: 6.43.10 free-memory: 964.1MiB total-memory: 1024.0MiB cpu: AR...
by ofirule
Wed May 29, 2019 3:43 pm
Forum: General
Topic: ssh from routeros to linux server
Replies: 6
Views: 989

Re: ssh from routeros to linux server

I think I found a bug: Basically I think the user flag in the /system ssh command is not working and it also doesn't auto complete with available options consider having the following user: /user group add name=remote policy=ssh,read,write /user add name=ubuntu group=remote password=Sup3rStr0ngPassw...
by ofirule
Tue May 28, 2019 2:46 pm
Forum: General
Topic: ssh from routeros to linux server
Replies: 6
Views: 989

ssh from routeros to linux server

I am trying to ssh from routeros ver 6.44.3 to an ubuntu 16.04 linux server with no success the following command works from any linux machine: ssh -i my_private_key.pem ubuntu@myhost I tried many variations on my routeros machine without success. I guessed the following would work: /user group add ...
by ofirule
Sun May 26, 2019 2:00 pm
Forum: General
Topic: Problem ssh to mikrotik ovpn client
Replies: 5
Views: 902

Re: Problem ssh to mikrotik ovpn client

Updating backend server config to be closer to : https://wiki.mikrotik.com/wiki/OpenVPN#OpenVPN_server_configuration: fixed the problem But I would expect the client to have a faulty status in that case. current: keepalive 10 120 # comp-lzo no # push "comp-lzo no" user nobody group nogroup previous:...
by ofirule
Sun May 26, 2019 9:09 am
Forum: General
Topic: Problem ssh to mikrotik ovpn client
Replies: 5
Views: 902

Re: Problem ssh to mikrotik ovpn client

This is the config export: [admin@MikroTik] > /export hide-sensitive # may/26/2019 09:06:23 by RouterOS 6.44.3 # software id = EPU4-B5BD # # model = RouterBOARD M33G # serial number = A2FD0AB8D70F /interface lte set [ find ] mac-address=02:1E:10:1F:00:00 name=lte1 /interface wireless security-profil...
by ofirule
Thu May 23, 2019 7:35 pm
Forum: General
Topic: Problem ssh to mikrotik ovpn client
Replies: 5
Views: 902

Problem ssh to mikrotik ovpn client

I installed a openvpn server on a linux machine and I configured my board RBM33G as a vpn client successfully

Interface status is connected running
and I see the board ip address /ip Addreses

but ssh and ping to the board ip from the server is not working

why can't I ssh to the board via vpn?
by ofirule
Thu May 23, 2019 6:54 pm
Forum: General
Topic: OpenVPN SHA256 + UDP
Replies: 61
Views: 33498

Re: OpenVPN SHA256 + UDP

+1

configuring using regular openvpn config file would also be great
by ofirule
Thu Apr 18, 2019 11:32 am
Forum: General
Topic: Installing routeros specific version
Replies: 2
Views: 478

Re: Installing routeros specific version

This flow works for me: ssh -o "StrictHostKeyChecking no" admin@192.168.88.1 system resource print # See current version scp -o "StrictHostKeyChecking no" ./routeros-mmips-6.44.2.npk admin@192.168.88.1:/ ssh -o "StrictHostKeyChecking no" admin@192.168.88.1 system reboot ssh -o "StrictHostKeyChecking...
by ofirule
Mon Apr 15, 2019 6:46 pm
Forum: General
Topic: Installing routeros specific version
Replies: 2
Views: 478

Installing routeros specific version

whats the easiest way to install a specific version of routeros via terminal or UI (if must)
lets say I want to automatically flash all my boards with routeros ver 6.44.2 or 6.44.1