Community discussions

MikroTik App

Search found 9 matches

by ookonek
Wed Nov 07, 2018 2:51 pm
Forum: General
Topic: Restore backup on other mikrotik
Replies: 1
Views: 1285

Restore backup on other mikrotik

Hello! My CCR 1036 has got boot loop and I have problem... I ordered new one. I havn't got export file form broken mikrotik, but I have backup file. It is possible to load and restore backup file form old machine to new router and it will be working (I know what version os was on broken)? How to mak...
by ookonek
Wed Jun 20, 2018 9:04 am
Forum: Beginner Basics
Topic: Access to client without gateway by NAT [SOLVED]
Replies: 6
Views: 3741

Re: Access to client without gateway by NAT [SOLVED]

Just add some srcnat, e.g.:
/ip firewall nat
add chain=srcnat dst-address=192.168.1.212 action=masquerade
And you don't need the route to 192.168.1.212/32, automatic connected route comes from 192.168.1.2/24.
I don't know how it work, but it work! :)
Thanks Sob!
by ookonek
Tue Jun 19, 2018 2:42 pm
Forum: Beginner Basics
Topic: Access to client without gateway by NAT [SOLVED]
Replies: 6
Views: 3741

Re: Access to client without gateway by NAT [SOLVED]

You have to use self IP from same subnet that your lan device have. Without it, there is no way to reply the traffic from another subnet without gateway set. Thanks for reply but I not sure I understand you. What do you mean about use self IP? I added address 192.168.1.2/24 and mikrotik of course c...
by ookonek
Tue Jun 19, 2018 2:16 pm
Forum: Beginner Basics
Topic: Access to client without gateway by NAT [SOLVED]
Replies: 6
Views: 3741

Access to client without gateway by NAT [SOLVED]

Hi everyone... I have problem with DST-NAT... I must access to some device by other address ip (192.168.21.215). I must do that becouse I can't use in my LAN subnet like 192.168.1.X. Anyone have idea how can I do this? When I am testing on other device this work when I set GW, but that's not what I ...
by ookonek
Thu Apr 14, 2016 9:11 pm
Forum: General
Topic: VPN tunnel for CCTV
Replies: 6
Views: 2562

Re: VPN tunnel for CCTV

On Router A: Local address: 192.168.51.1 Remote address: 192.168.51.101 /ip firewall nat print 0 chain=dstnat action=dst-nat to-addresses=192.168.88.253 to-ports=80 protocol=tcp dst-address=195.X.X.X dst-port=80 ... /ip route print # DST-ADDRESS PREF-SRC GATEWAY DISTANCE ... 22 A S ;;; TEST 192.168...
by ookonek
Thu Apr 14, 2016 9:08 am
Forum: General
Topic: VPN tunnel for CCTV
Replies: 6
Views: 2562

VPN tunnel for CCTV

Hello,

I have problem becouse I don't know how to configure two mikrotik routers.

I attachment JPG with my problem. I have configured VPN and I think it is working but I don't know how to configure routers. User doesn't see CCTV.

Could anybody help me?
by ookonek
Thu Mar 17, 2016 11:53 pm
Forum: Scripting
Topic: Random select host
Replies: 3
Views: 1371

Re: Random select host

Nobody hasn't any idea? Help me! :)


If I will use dns with round robin how can I do it?
by ookonek
Mon Mar 14, 2016 1:30 pm
Forum: Scripting
Topic: Random select host
Replies: 3
Views: 1371

Re: Random select host

I would make script which turn off vpn interface, select new host and add one more time interface with new hostname.

I don't think its good idea to use DNS for me.

I need "only" random function to select hostname from list. :P
by ookonek
Mon Mar 14, 2016 1:06 pm
Forum: Scripting
Topic: Random select host
Replies: 3
Views: 1371

Random select host

Hi! I am looking for script which automatically change VPN host from list. For example: I have some vpn hosts: VPNLIST=(01.vpn.host.pl 02.vpn.host.pl 03.vpn.host.pl 04.vpn.host.pl) (in bash could be) RANDOM=$$$(date +%s) selectVPNLIST=${VPNLIST[$RANDOM % ${#VPNLIST[@]} ]} echo $selectVPNLIST ..and I...