Community discussions

Search found 19 matches

by tvagge
Fri Jul 19, 2019 1:30 pm
Forum: Beginner Basics
Topic: RouterOS - Route traffic through specific gateway problem
Replies: 5
Views: 607

Re: RouterOS - Route traffic through specific gateway problem

Back again, still problem exists, anyone can help me on that please?
by tvagge
Wed Jul 10, 2019 4:34 pm
Forum: Beginner Basics
Topic: RouterOS - Route traffic through specific gateway problem
Replies: 5
Views: 607

Re: RouterOS - Route traffic through specific gateway problem

Hi again,

I still cant figure out what seems to be the problem, can anyone help me?
by tvagge
Tue Jul 09, 2019 8:30 am
Forum: Beginner Basics
Topic: RouterOS - Route traffic through specific gateway problem
Replies: 5
Views: 607

Re: RouterOS - Route traffic through specific gateway problem

try adding Routing-Mark=to_Wan2 to the route you are trying to add
Hi,

Done that, still not working... When I use tracert to 10.2.60.59 with routing-mark=to_Wan2, it routes through 10.4.14.1 gateway...
by tvagge
Mon Jul 08, 2019 10:10 am
Forum: Beginner Basics
Topic: RouterOS - Route traffic through specific gateway problem
Replies: 5
Views: 607

RouterOS - Route traffic through specific gateway problem

Hi guys, I'm in front of this working configuration: /ip address add address=10.24.14.1/23 disabled=no interface=LAN network=10.24.14.0 add address=10.4.14.2/24 disabled=no interface=WAN1 network=10.4.14.0 add address=10.30.52.242/24 disabled=no interface=WAN2 network=10.30.52.0 add address=10.1.1.2...
by tvagge
Wed Apr 24, 2019 11:50 am
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

Re: RouterOS - NAT problem (dst-nat)

I dont see red very well LOL. Best if you use standard format /export hide-sensitive file=yourconfig I see issues in both firewall filter and nat rules. Ugh! Sorry for red colors... edited that already.... I'm posting the entire configuration. The only "active" sections (mine settings) are: /interf...
by tvagge
Tue Apr 23, 2019 9:26 am
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

Re: RouterOS - NAT problem (dst-nat)

OK, good news, everything is up and working. As reviewing the whole thing, the scenario was: Mikrotik router is handling 2 WANs and 1 LAN interface: WAN1 has 10.4.14.1 as gateway WAN2 has 10.33.52.1 as gateway The router has two basic tasks: 1. Route all traffic through WAN1, except one specific des...
by tvagge
Mon Apr 22, 2019 3:40 pm
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

Re: RouterOS - NAT problem (dst-nat)

Guys, thank you for your feedback, I'm trying to implement all the settings and I'll get back to you
by tvagge
Sun Apr 21, 2019 10:44 pm
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

Re: RouterOS - NAT problem (dst-nat)

Ok, one correction, you don't necessarily have to mark incoming connections if the server (10.24.14.21) is going to alway use WAN2, even for own outgoing connections. In that case you can use simpler: /ip route add dst-addres=0.0.0.0/0 gateway=10.33.52.1 routing-mark=wan2 /ip firewall mangle add ch...
by tvagge
Sun Apr 21, 2019 12:33 pm
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

Re: RouterOS - NAT problem (dst-nat)

Thank you guys for your snappy replies.

I would like to ask you in my posted configuration, did you notice any "flaws"?
I'll try to post the exported conf. as soon as I get back to the office
by tvagge
Sat Apr 20, 2019 11:17 pm
Forum: Beginner Basics
Topic: RouterOS - NAT problem (dst-nat)
Replies: 23
Views: 1107

RouterOS - NAT problem (dst-nat)

Hi guys, The old router died, so I came up to the marvel that is called “RouterOS”. I try the last days to understand the principles and make things work as it was before the “meltdown”. So I have a critical situation here and I’m gonna try to be as analytical as I can be: Mikrotik configuration so ...
by tvagge
Wed Nov 28, 2018 8:46 am
Forum: Beginner Basics
Topic: NAT internal address to external
Replies: 8
Views: 575

Re: NAT internal address to external

OK guys, let me try all your suggestions and I'll get back to you, thank you
by tvagge
Tue Nov 27, 2018 12:39 pm
Forum: Beginner Basics
Topic: NAT internal address to external
Replies: 8
Views: 575

Re: NAT internal address to external

Thank you for your snapy reply, please check my edited post before yours
by tvagge
Tue Nov 27, 2018 12:29 pm
Forum: Beginner Basics
Topic: NAT internal address to external
Replies: 8
Views: 575

Re: NAT internal address to external

I have already this rule in NAT: chain=srcnat action=masquerade src-address=10.240.xx.0/26 I need this: If someone hits this address (external) : 10.xx.xx.242:8080, the router leads the request to the internal (LAN) address: 10.240.xx.21:8080, through WAN1 interface. Should I use src-nat or dst-nat ...
by tvagge
Tue Nov 27, 2018 10:37 am
Forum: Beginner Basics
Topic: NAT internal address to external
Replies: 8
Views: 575

NAT internal address to external

Hi guys, I have this situation. An old Cisco router died recently with this NAT configuration (check the attached image): Original Address: 10.240.xx.0-10.240.xx.63 Translated Address: 10.xx.xx.251 Rule Type Dynamic Original Address: 10.240.xx.21 (8080) Translated Address: 10.xx.xx.242 (8080) Rule T...
by tvagge
Fri Jun 08, 2018 8:33 am
Forum: Beginner Basics
Topic: RouterOS 5.20 - IP Route List
Replies: 13
Views: 1347

Re: RouterOS 5.20 - IP Route List

/ip firewall filter FORWARD CHAIN order - drop invalid - accept established, connected, untracked - accept in-interface=LAN destination-address-list=special_sites out-interface=ether1 - accept in-interface=LAN destination-address-list=! special_sites out-interface=ether2 - log log=yes prefix="VIEW ...
by tvagge
Tue Jun 05, 2018 2:55 pm
Forum: Beginner Basics
Topic: RouterOS 5.20 - IP Route List
Replies: 13
Views: 1347

Re: RouterOS 5.20 - IP Route List

Hi guys, I'm coming back with this post, as I said, can anyone help me about how to allow all traffic through ISP2 WAN except these 2 IPs: 10.10.10.1 & 10.10.10.2? Thank you guys for all your answers! Well, that's what I have setup so far: /ip route add dest-address=0.0.0.0/0 gatewayIP (of ISP2) dis...
by tvagge
Tue May 29, 2018 11:42 am
Forum: Beginner Basics
Topic: RouterOS 5.20 - IP Route List
Replies: 13
Views: 1347

Re: RouterOS 5.20 - IP Route List

Thank you guys for all your answers! Well, that's what I have setup so far: /ip route add dest-address=0.0.0.0/0 gatewayIP (of ISP2) distance=1 add dest-address=10.10.10.0/30 gatewayIP (of ISP1) distance=1 It works OK, the traffic flows correctly, but: When I disable the ISP1 interface, or just unpl...
by tvagge
Mon May 28, 2018 9:24 am
Forum: Beginner Basics
Topic: RouterOS 5.20 - IP Route List
Replies: 13
Views: 1347

Re: RouterOS 5.20 - IP Route List

Can anyone help me with that please?
by tvagge
Tue May 22, 2018 2:46 pm
Forum: Beginner Basics
Topic: RouterOS 5.20 - IP Route List
Replies: 13
Views: 1347

RouterOS 5.20 - IP Route List

Greetings from Athens, Greece. I have this configuration: 2 WAN interfaces (WAN1 & WAN2) and 1 LAN. I want to route these specific destination addresses (10.10.10.1 & 10.10.10.2) through WAN1 (gateway is 192.168.1.1) and simultaneously block all other traffic to use this WAN interface. I also want t...