Community discussions

Search found 8 matches

by adroman
Wed Oct 31, 2018 5:22 am
Forum: Scripting
Topic: Netwatch WAN failover with dynamic gateway [SOLVED]
Replies: 6
Views: 2170

Re: Netwatch WAN failover with dynamic gateway [SOLVED]

Well, this sucks. How can you have something solid when your provider changes stuff. It's the first time I hear about a setup like that. I wanted to suggest this : https://alaincasault.com/ca/posts But that setup won't do it either since the default gateway will change on you. Use my idea of renewi...
by adroman
Fri Oct 26, 2018 5:50 am
Forum: Scripting
Topic: Netwatch WAN failover with dynamic gateway [SOLVED]
Replies: 6
Views: 2170

Re: Netwatch WAN failover with dynamic gateway [SOLVED]

Plz help :) I was trying to create a script below, but it doesn't work... I think I have crucial errors (in simple script) .... :local currentGateway [/ip dhcp-client get value-name=gateway number=0] (HERE WE GET NEW DHCP GATEWAY) :local existingGateway [/ip route get number=1 value-name=gateway] (H...
by adroman
Fri Oct 26, 2018 2:24 am
Forum: Scripting
Topic: routing with dynamic gateway
Replies: 7
Views: 8794

Re: routing with dynamic gateway

Hello, very good post!
Plz explain how to use this second working script for ether1 interface..
Your first script doesn't work for my RouterOS as well.
by adroman
Thu Oct 25, 2018 11:12 pm
Forum: Scripting
Topic: Netwatch WAN failover with dynamic gateway [SOLVED]
Replies: 6
Views: 2170

Re: Netwatch WAN failover with dynamic gateway [SOLVED]

Thanx for the answer my friend but script for DHCP renewal will be pointless because: 1) DHCP client renews IP address pretty fast by itself 2) Netwatch don't use DHCP automatic default route from DHCP client, it can use only static routes that has to be added manually to get option to add Comment (...
by adroman
Thu Oct 25, 2018 8:08 pm
Forum: Scripting
Topic: Netwatch WAN failover with dynamic gateway [SOLVED]
Replies: 6
Views: 2170

Netwatch WAN failover with dynamic gateway [SOLVED]

Hello guys! I have netwatch failover configuration for my WAN, but one of my ISPs has dynamic gateway that I get from DHCP. And sometimes when router is powered off for hour or more - my default gateway may change and my default static route that I use for netwatch becomes unreachable. Please help m...
by adroman
Wed Jun 20, 2018 5:00 pm
Forum: Beginner Basics
Topic: OpenVPN client connection attempts quantity
Replies: 0
Views: 190

OpenVPN client connection attempts quantity

Hello, I'm using OpenVPN client on MikroTik and all works just fine but i'm not sure how much connection attempts MikroTik utilizes. There is no configuration for this feature in Winbox. I just do afraid that if I loose my ISP link for long this OpenVPN client may stop to try and after ISP recovery ...
by adroman
Fri Jun 15, 2018 9:58 am
Forum: General
Topic: Acess to subnet behind MikroTik OpenVPN client [SOLVED]
Replies: 1
Views: 428

Acess to subnet behind MikroTik OpenVPN client [SOLVED]

https://i.imgur.com/jyJO4Ow.png My goal is to be able to connect to private network located behind OpenVPN client (192.168.1.0/24) via OpenVPN server WAN interface. For example I want this forwarding: http://{Ubuntu WAN IP}:443 --> http://{Private LAN IP behind OpenVPN client }:443 Please take a lo...
by adroman
Tue May 29, 2018 4:36 pm
Forum: Beginner Basics
Topic: MikroTIK: intricate NAT/Routing
Replies: 2
Views: 329

MikroTIK: intricate NAT/Routing

Hello, I bought brand new hAP ac² with latest stable Winbox build v6.42.1. and with default config. I’ve configured regular destination NAT rule in Winbox to forward tcp port to LAN IP address and: When I telnet my router’s WAN IP from other internet provider, for example from work or mobile LTE pho...