Community discussions

MikroTik App

Search found 21 matches

by djferdinad
Tue May 28, 2024 3:38 pm
Forum: General
Topic: VPN & Port forward through 1 Interface
Replies: 5
Views: 719

Re: VPN & Port forward through 1 Interface

Sure, that totally makes sense. It is more secure. Here is the latest config # 2024-05-27 13:33:36 by RouterOS 7.15rc3 /interface bridge add admin-mac=74:4D:28:84:6C:D2 auto-mac=no comment=defconf name=bridge \ port-cost-mode=short /interface wireguard add listen-port=13231 mtu=1420 name=wireguard1 ...
by djferdinad
Sat May 25, 2024 5:31 am
Forum: General
Topic: VPN & Port forward through 1 Interface
Replies: 5
Views: 719

Re: VPN & Port forward through 1 Interface

Thank you for your review. Indeed, PF on ether1 was an old configuration that is not in use and I just deleted. When needed I can post the most recent changes. Access Lists (not sure if that is a correct configuration) does intend to restrict the login access to the router, and allow only certain IPs.
by djferdinad
Fri May 24, 2024 10:04 pm
Forum: General
Topic: VPN & Port forward through 1 Interface
Replies: 5
Views: 719

VPN & Port forward through 1 Interface

Hello MK Community. Currently I have 2 ISPs, (ISP1 - higher bandwidth & private IP, ISP2 - Lower bandwidth and Dynamic public IP). With that being said, I have already set up Failover configuration using ISP1 as primary and ISP2 as secondary. Expected behaviour Having the failover configuration,...
by djferdinad
Fri May 24, 2024 9:51 pm
Forum: Scripting
Topic: Failover does not work when ISP has issue. Works if interface is down. MT newbie
Replies: 4
Views: 1007

Re: Failover does not work when ISP has issue. Works if interface is down. MT newbie

Hi Hi, I have an update, and it has to do with the routes. Check these if you would like to have as recursive /ip routes add distance=2 check-gateway=ping dst-address=0.0.0.0/0 gateway=1.1.1.1 scope=10 target-scope=12 add distance=2 dst-address=1.1.1.1/32 gateway=(ISP1-Ether8) scope=10 target-scope=...
by djferdinad
Thu Apr 18, 2024 12:25 am
Forum: Scripting
Topic: Failover does not work when ISP has issue. Works if interface is down. MT newbie
Replies: 4
Views: 1007

Re: Failover does not work when ISP has issue. Works if interface is down. MT newbie

I also want to check the solution.

I have the same issue.
by djferdinad
Fri Apr 05, 2024 6:53 am
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Oh Sorry for the late but what I preferred to do was defaulted and start from the beginning with your guidance. I think I am getting the point now. When doing the 1st mangle rule (cloudDDNS) and marking packets to go in and out right below using the WAN2 routes then the CloudDDNS does update correct...
by djferdinad
Tue Apr 02, 2024 12:11 am
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Hi Anav. Sorry for the late reply. I tried the recommendations but is not working either. a. The Cloud DDNS is still updating with the CGNAT IP address and not the correct "ether2-CANTV" b. When the ADSL modem (public dynamic IP) reboots, on the routes tables is not showing the new gateway...
by djferdinad
Thu Mar 28, 2024 3:40 am
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Yes, public IP from the ADSL modem.

Yes, a different public IP address every reboot or Renew.
by djferdinad
Thu Mar 28, 2024 12:47 am
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Thank you so much, I think this will work for the majority of this, but I have a question and is: How could I know the gateway=ADSL gateway IP? It is Dynamic, even the gateway is Dynamic. For gateway=CGNAT gateway IP it is totally fine, I know the private gateway IP address and this one will work as...
by djferdinad
Wed Mar 27, 2024 11:42 pm
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Correct! All your statements are correct. "If WAN2 goes down, you will lose your ability to keep wireguard going" Yes, it is understandable. 1. Done. 2. Sorry, I probably set this the wrong way. I would like to do it the correct way and Yes, that is what I want to achieve. 3. Will try to f...
by djferdinad
Wed Mar 27, 2024 2:33 pm
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

Re: 2 WAN Failover - Cloud DNS

Thank you anav. I have seen you on other posts and seems like you are a beast! Hopefully you can help me. /interface ethernet set [ find default-name=sfp1 ] name=SFP set [ find default-name=ether1 ] name=ether1-NetUno set [ find default-name=ether2 ] name=ether2-CANTV set [ find default-name=ether3 ...
by djferdinad
Wed Mar 27, 2024 5:12 am
Forum: General
Topic: 2 WAN Failover - Cloud DNS
Replies: 14
Views: 1398

2 WAN Failover - Cloud DNS

Hi Community, Hope you all are doing great!! [Description]: 2 WAN Connections are used, both of them are DHCP from the provider. From one of them I know the Gateway (Physical Carrier Router, Higher bandwidth but CGNAT). For the second WAN there is an ADSL modem on premise. Also the CloudDNS is used ...
by djferdinad
Mon Nov 27, 2023 8:42 pm
Forum: Scripting
Topic: Power outage notification
Replies: 3
Views: 1914

Power outage notification

Hi Community, I would like to setup a notification by telegram bot. When there was a power outage to tell me: 1. Last time seen 2. for how long the unit was powered off For example: Last seen at [Date/time] and the router was off for $hours, $minutes. Actual [date/time]. Something like it, but the m...
by djferdinad
Thu Apr 21, 2022 9:14 pm
Forum: Beginner Basics
Topic: CHR port forwarding to Local MK
Replies: 6
Views: 992

Re: CHR port forwarding to Local MK

If you want port forwarding (which involves NAT) and at the same time keep public address, you can't really do that, it's one or the other. What you can do is to forward public address from CHR to PBX. If you can get another public address for CHR, it's simple. If that's not an option, it may be po...
by djferdinad
Thu Apr 21, 2022 9:10 pm
Forum: Beginner Basics
Topic: CHR port forwarding to Local MK
Replies: 6
Views: 992

Re: CHR port forwarding to Local MK

that contact is being masquerade from a Router the audio and the SIP messages are not going reach the another UA. I'm not willing to debug SIP for you. I have the barest awareness of what the protocol does, and zero expertise in actually using and managing it. However, I will say two things: 1. I t...
by djferdinad
Thu Apr 21, 2022 4:39 am
Forum: Beginner Basics
Topic: CHR port forwarding to Local MK
Replies: 6
Views: 992

Re: CHR port forwarding to Local MK

If your requirement is literally true, you need to arrange for a static IP block from your ISP, then assign one of them to the PBX. However, what I want to know is why you have this strange requirement? What’s wrong with IP address translation in this application? (Note that MikroTik uses the word ...
by djferdinad
Sat Apr 16, 2022 1:28 am
Forum: Beginner Basics
Topic: CHR port forwarding to Local MK
Replies: 6
Views: 992

CHR port forwarding to Local MK

Hi Community, I have a CHR running and an Open VPN tunnel from it, I can push the traffic through the VPN just fine, I can access my devices on my Local network just fine. My issue is: I need to set up a PBX and I need that the traffic coming to from any devices on internet ends on the local PBX WIT...
by djferdinad
Sun Apr 10, 2022 6:39 am
Forum: Beginner Basics
Topic: Push traffic to VPN on AWS
Replies: 5
Views: 703

Re: Push traffic to VPN on AWS

You need to disable source/destination check on the EC2 instance. Either from Actions -> Networking -> Change Source/Derstination Check, or through the CLI: aws ec2 modify-instance-attribute --instance-id=<instance-id> --no-source-dest-check I did this also, It was not a MUST ( I did it after achie...
by djferdinad
Sun Apr 10, 2022 6:37 am
Forum: Beginner Basics
Topic: Push traffic to VPN on AWS
Replies: 5
Views: 703

Re: Push traffic to VPN on AWS

I would recommend having the 'topology' image up while reading through this :) badlol.png OK lets pretend I didnt rust this in paint in the shortest time possible but lets say we have the following, look at image one, we will have a local address of 88.0/24 and a vpn address of 0.3 on router B and ...
by djferdinad
Wed Apr 06, 2022 5:53 am
Forum: Beginner Basics
Topic: Gear for voip lab
Replies: 4
Views: 476

Re: Gear for voip lab

Hi, I am a Computer engineer working on the VoIP field too. So I got interested on your post.

For Labs it will depend on how many devices you wish to connect? and what kind of PoE will use?
by djferdinad
Wed Apr 06, 2022 5:34 am
Forum: Beginner Basics
Topic: Push traffic to VPN on AWS
Replies: 5
Views: 703

Push traffic to VPN on AWS

Good day MK community. I am new on MK and I am trying to set up a VPN with an AWS CHR. I am able to connect the VPN I've tried OPENVPN and PPTP But I can not make the traffic route to go over the VPN. I've made a lot of reading a watching videos but with no success. I would like to start over with t...