Community discussions

MikroTik App

Search found 149 matches

by panisk0
Tue Apr 01, 2025 4:48 am
Forum: General
Topic: IP service ACL doesn't work
Replies: 2
Views: 755

Re: IP service ACL doesn't work

this is correct in ROS
enabled services listen on all L3 interfaces
to limit this use firewall
by panisk0
Wed Mar 12, 2025 11:11 am
Forum: General
Topic: Limit Bandwidth of Dynamic simple queues
Replies: 1
Views: 904

Re: Limit Bandwidth of Dynamic simple queues

The QoS rule works like this: first, you create a main queue where you define the link parameters, and then in subqueues, you can shape the traffic. In the subqueues, there must always be one that handles the remaining traffic , which usually has the lowest priority and the worst parameters. Without...
by panisk0
Tue Mar 11, 2025 12:50 pm
Forum: Beginner Basics
Topic: DHCP server in vlan doesn't work
Replies: 6
Views: 1307

Re: DHCP server in vlan doesn't work

remove relay from dhcp-server config /ip address add address=192.168.22.1/24 interface=bridge1 network=192.168.22.0 add address=10.0.10.1/24 interface="vlan guest" network=10.0.10.0 add address=10.0.11.1/24 interface="vlan iot" network=10.0.11.0 add address=10.0.12.1/24 interface...
by panisk0
Tue Mar 11, 2025 11:00 am
Forum: General
Topic: Two IP addresses from one provider „like two ISPs“
Replies: 21
Views: 3618

Re: Two IP addresses from one provider „like two ISPs“

What is happening is correct, which is why I wrote that macvlan is unnecessary. For this configuration, policy routing would be required. It will be simpler to give up on macvlan, use DHCP to get one address, and set the second manually.
by panisk0
Mon Mar 10, 2025 10:37 am
Forum: Forwarding Protocols
Topic: open port for dualwan help
Replies: 5
Views: 2218

Re: open port for dualwan help

routing policy code /ip a add address=115.146.0.2/30 comment="WAN_isp1" interface=e1_WAN_isp1 /ip a add address=124.106.0.2/30 comment="WAN_isp2" interface=e2_WAN_isp2 /ro ta add disabled=no fib name=to_WAN_isp1 /ro ta add disabled=no fib name=to_WAN_isp2 /ip ro add dst-address=0...
by panisk0
Mon Mar 10, 2025 2:03 am
Forum: General
Topic: Two IP addresses from one provider „like two ISPs“
Replies: 21
Views: 3618

Re: Two IP addresses from one provider „like two ISPs“

MACVLAN is unnecessary set pref-src to use 10.3.33.11 by default /ip ro add dst-address=0.0.0.0/0 gateway=10.3.33.1 pref-src=10.3.33.11 add network nat rules to proper ip /ip fi na add action=src-nat chain=srcnat src-address=192.168.1.0/25 to-addresses=10.3.33.11 /ip fi na add action=src-nat chain=s...
by panisk0
Mon Mar 10, 2025 1:46 am
Forum: General
Topic: Proper way to run zeek without port mirroring?
Replies: 3
Views: 1174

Re: Proper way to run zeek without port mirroring?

You could use mange rule:
/interface/bridge/settings/set use-ip-firewall=yes
/ip/firewall/mangle add action=sniff-tzsp chain=forward in-interface=bridge sniff-target=10.10.10.10 sniff-target-port=37006
by panisk0
Sun Mar 09, 2025 3:42 pm
Forum: Beginner Basics
Topic: Events on master port will be handled by slave [SOLVED]
Replies: 8
Views: 6057

Re: Events on master port will be handled by slave [SOLVED]

 /ip dhcp-server set dhcp1_LAN interface=bridge1_LAN
by panisk0
Sun Mar 09, 2025 12:00 pm
Forum: General
Topic: How to monitor the signal strength
Replies: 2
Views: 1613

Re: How to monitor the signal strength

try using dude
by panisk0
Sat Mar 08, 2025 10:16 am
Forum: Beginner Basics
Topic: Configuring CAKE QOS on Hex
Replies: 1
Views: 1211

Re: Configuring CAKE QOS on Hex

The QoS rule works like this: first, you create a main queue where you define the link parameters, and then in subqueues, you can shape the traffic. In the subqueues, there must always be one that handles the remaining traffic, which usually has the lowest priority and the worst parameters. why QUEU...
by panisk0
Sat Mar 01, 2025 12:44 pm
Forum: General
Topic: IPSEC full tunnel, inter vlan not reachable
Replies: 1
Views: 1939

Re: IPSEC full tunnel, inter vlan not reachable

if you want to use 0.0.0.0/0 policy, add on top exclusions for local networks
/ip ipsec policy add action=none src-address=11.11.11.0/24 dst-address=22.22.22.0/24 
/ip ipsec policy add action=none src-address=11.11.11.0/24 dst-address=192.168.1.0/24
etc...
by panisk0
Fri Feb 28, 2025 8:56 am
Forum: Beginner Basics
Topic: Port forwarding issue
Replies: 7
Views: 2733

Re: Port forwarding issue

change this port and check the rule counters, if it counts there may be a problem somewhere else /ip firewall nat add action=dst-nat chain=dstnat comment="DST-NAT2WWW" \ dst-address=192.168.x.5 dst-port=8000 in-interface=WAN protocol=tcp \ src-address=1.1.1.1 to-addresses=10.x.x.10 to-port...
by panisk0
Thu Feb 27, 2025 3:51 pm
Forum: General
Topic: SIP phone does not work well when marking connection enabled
Replies: 5
Views: 2572

Re: SIP phone does not work well when marking connection enabled

ad 1. contrack
ad 2. no but you can use routing policies to direct traffic to the main table --> /routing/rule
https://help.mikrotik.com/docs/spaces/R ... cy+Routing
by panisk0
Thu Feb 27, 2025 12:36 pm
Forum: General
Topic: L2TP site to site cannot reach server's LAN [SOLVED]
Replies: 10
Views: 8606

Re: L2TP site to site cannot reach server's LAN [SOLVED]

I bet the problem lies with the routing...
...for s2s links use ipip / ipsec
...wireguard uses an algorithm without hardware support
by panisk0
Thu Feb 27, 2025 12:17 pm
Forum: General
Topic: SIP phone does not work well when marking connection enabled
Replies: 5
Views: 2572

Re: SIP phone does not work well when marking connection enabled

this is because in the 4g table you do not have the 192.168.1.0/24 network
/ip ro add dst-address=192.168.1.0/24 gateway=bridge routing-table=4g
by panisk0
Wed Feb 26, 2025 12:54 pm
Forum: General
Topic: Use /24 FW rules for /23 subnets
Replies: 34
Views: 5572

Re: Use /24 FW rules for /23 subnets

Currently, networks are more likely to be segmented than consolidated.
by panisk0
Wed Feb 26, 2025 11:17 am
Forum: General
Topic: Routing issue
Replies: 2
Views: 2780

Re: Routing issue

routing = IP - no addresses on map & config
crs = switch - why routing there?
pfsense = default gw?

try to draw it again in: https://app.diagrams.net/
by panisk0
Wed Feb 26, 2025 10:28 am
Forum: Beginner Basics
Topic: Cant ping from vlan to lan interface
Replies: 15
Views: 3359

Re: Cant ping from vlan to lan interface

chenge: 0/24 to 1/24 /ip address add address=10.0.10.0/24 interface=vlan10 network=10.0.10.0 add address=10.0.20.0/24 interface=vlan20 network=10.0.20.0 add address=10.0.30.0/24 interface=vlan30 network=10.0.30.0 add address=10.0.40.0/24 interface=vlan40 network=10.0.40.0 /ip dhcp-server network add...
by panisk0
Sun Feb 23, 2025 10:04 pm
Forum: Beginner Basics
Topic: VRRP beginner questions
Replies: 1
Views: 2637

Re: VRRP beginner questions

yep you have to make changes manually on both routers

#add a reminder on both
/system/note> set note="caution vrrp enabled \r\n gw1 - 10.10.133.1 \r\n gw2 - 10.10.133.2"
by panisk0
Wed Feb 19, 2025 11:31 pm
Forum: General
Topic: Routing mark validity in filter rules and others.
Replies: 12
Views: 3380

Re: Routing mark validity in filter rules and others.

Looks like we got a 'man of the pen' here ;P
by panisk0
Wed Feb 19, 2025 4:55 pm
Forum: General
Topic: REMOTE RS232 ltap Mini
Replies: 10
Views: 3017

Re: REMOTE RS232 ltap Mini

must support TCP Client Mode
by panisk0
Wed Feb 19, 2025 4:30 pm
Forum: General
Topic: REMOTE RS232 ltap Mini
Replies: 10
Views: 3017

Re: REMOTE RS232 ltap Mini

probably all nport
by panisk0
Wed Feb 19, 2025 3:52 pm
Forum: General
Topic: REMOTE RS232 ltap Mini
Replies: 10
Views: 3017

Re: REMOTE RS232 ltap Mini

2x mikrotik can't be rs232 bridge via ethernet or vpn
you can use moxa & mikrotik via rfc2217 or raw

pc rs232 --> moxa --- ethernet rfc2217 --- mikrotik <-- rs232 inverter
by panisk0
Wed Feb 19, 2025 2:53 pm
Forum: General
Topic: packet mark, NAT works Firewall isnt
Replies: 8
Views: 2769

Re: packet mark, NAT works Firewall isnt

and this too:
chain=output action=drop packet-mark=philips_packet log=no log-prefix="" 
change
chain=forward action=drop packet-mark=philips_packet log=no log-prefix="" 
by panisk0
Wed Feb 19, 2025 2:42 pm
Forum: General
Topic: packet mark, NAT works Firewall isnt
Replies: 8
Views: 2769

Re: packet mark, NAT works Firewall isnt

Make test rule:
/ip firewall mangle add action=add-dst-to-address-list address-list=al_WEB_philips chain=prerouting layer7-protocol=philips
& look to /ip/firewall/address-list
It might explain this to you.
by panisk0
Wed Feb 19, 2025 1:41 pm
Forum: General
Topic: packet mark, NAT works Firewall isnt
Replies: 8
Views: 2769

Re: packet mark, NAT works Firewall isnt

You mixed everything up, you classify the traffic by DNS string, so it always marks your connections to the DNS server. It's easier to do this through the local DNS cache. /ip dns set allow-remote-requests=yes /ip dns static add address=127.0.0.1 name=philips.com type=A /ip firewall nat add action=r...
by panisk0
Wed Feb 19, 2025 12:57 pm
Forum: Forwarding Protocols
Topic: Why is a subnet /30 routing when gw is disabled?
Replies: 1
Views: 4519

Re: Why is a subnet /30 routing when gw is disabled?

add 100.100.0.0/16 in routing table as blachole & redistribute via bgp static
/ip route add blackhole dst-address=100.100.0.0/16
/routing/bgp/connection/set output.redistribute=static
by panisk0
Wed Feb 19, 2025 11:33 am
Forum: General
Topic: Routing mark validity in filter rules and others.
Replies: 12
Views: 3380

Re: Routing mark validity in filter rules and others.

@ kubiko look here: https://forum.mikrotik.com/viewtopic.php?p=1122351 table main /routing table add fib name=to_WAN_main /ip route add dst-address=0.0.0.0/0 gateway="20.30.40.49" routing-table=to_WAN_main /routing rule add routing-mark=to_WAN_main table=to_WAN_main add src-address=20.30.4...
by panisk0
Tue Feb 18, 2025 1:34 pm
Forum: General
Topic: Any "rules" for additional WG Interface instead of adding a new peer to the same WG interface?
Replies: 6
Views: 3117

Re: Any "rules" for additional WG Interface instead of adding a new peer to the same WG interface?

in my opinion:
-any s2s link via wireguard need create new interface
-roadwarrior clients can use one interface
by panisk0
Sun Feb 16, 2025 3:15 pm
Forum: Beginner Basics
Topic: Client device does not resolve local domain [SOLVED]
Replies: 8
Views: 8114

Re: Client device does not resolve local domain [SOLVED]

Which router os version are you using? There have been many changes in DNS lately. On my 7.16.2 it works fine. What's new in 7.17.2 (2025-Feb-06 11:10): *) dns - do not show warning messages for DNS static entries when they are not needed; What's new in 7.17.1 (2025-Jan-30 12:29): *) resolver - fixe...
by panisk0
Sun Feb 16, 2025 10:47 am
Forum: Beginner Basics
Topic: Client device does not resolve local domain [SOLVED]
Replies: 8
Views: 8114

Re: Client device does not resolve local domain [SOLVED]

Your router is properly configured, I bet on research error.
Use nslookup on dhcp client to check dns reply ...
nslookup
>server 10.0.0.1
viacore.local
by panisk0
Fri Feb 14, 2025 11:23 pm
Forum: General
Topic: routing between two subnets
Replies: 8
Views: 3701

Re: routing between two subnets

on internet router add
/ip route add dst-address=192.168.20.0/24 gateway=192.168.88.238
by panisk0
Fri Feb 14, 2025 11:08 pm
Forum: General
Topic: VPN Mikrotik to Fortigate
Replies: 4
Views: 3740

Re: VPN Mikrotik to Fortigate

/system logging add topics=ipsec
add on to firewall
 
/ip fi fi add action=accept chain=input dst-address=177.94.253.250 protocol=ipsec-esp src-address=201.55.165.210
/ip fi fi add action=accept chain=input dst-address=177.94.253.250 dst-port=500 protocol=udp src-address=201.55.165.210
by panisk0
Fri Feb 14, 2025 10:59 pm
Forum: General
Topic: Force Web Proxy to use LTE connection only [SOLVED]
Replies: 4
Views: 3630

Re: Force Web Proxy to use LTE connection only [SOLVED]

/routing table add fib name=to_WAN_lte
/routing rule add action=lookup src-address=10.10.10.10/32 table=to_WAN_lte
/ip route add dst-address=0.0.0.0/0 gateway=lte1 routing-table=to_WAN_lte
by panisk0
Fri Feb 14, 2025 5:19 pm
Forum: General
Topic: Can return path filter be enabled for LAN, but disabled for WAN?
Replies: 1
Views: 2063

Re: Can return path filter be enabled for LAN, but disabled for WAN?

https://wiki.mikrotik.com/Manual:IP/Settings <-- only applies to the asymmetry of your device
/ip/settings set rp-filter=strict
the entire internet is asymmetric
you can use TTL to test this but only if you administer on both sides
by panisk0
Fri Feb 14, 2025 5:10 pm
Forum: General
Topic: Force Web Proxy to use LTE connection only [SOLVED]
Replies: 4
Views: 3630

Re: Force Web Proxy to use LTE connection only [SOLVED]

/ip addr add address=10.10.10.10 interface=lte1
/ip proxy src-address=10.10.10.10
/ip firewall nat add action=masquerade chain=srcnat src-address=10.10.10.10
by panisk0
Wed Feb 12, 2025 12:14 pm
Forum: General
Topic: Can't Reach ISP After IP Assignment on SFP Interface
Replies: 4
Views: 2336

Re: Can't Reach ISP After IP Assignment on SFP Interface

Looking at your setup, it looks like you should probably do some training... Router: create bridge interface LAN add local interfaces to bridge assign LAN ip address to bridge dhcp-server assign to bridge 1x nat is enough ??? /ip arp add address=xxxxx interface=sfp-sfpplus1 mac-address=xxxxx - what ...
by panisk0
Wed Feb 12, 2025 11:50 am
Forum: General
Topic: WinBox from China Mainland to Hong Kong connected but frozen
Replies: 2
Views: 2037

Re: WinBox from China Mainland to Hong Kong connected but frozen

I have the same symptom as you write when I use winbox from behind fortigate with SSL deep inspection enabled
by panisk0
Tue Feb 11, 2025 3:23 pm
Forum: Scripting
Topic: pppooe uptime log
Replies: 2
Views: 2164

Re: pppooe uptime log

it will be easier to use profiles in ppp for this

viewtopic.php?t=183108
by panisk0
Tue Feb 11, 2025 2:30 pm
Forum: General
Topic: MTCNA certificate
Replies: 1
Views: 3177

Re: MTCNA certificate

by panisk0
Tue Feb 11, 2025 2:26 pm
Forum: General
Topic: Config help for port forwarding self-hosted server
Replies: 1
Views: 1953

Re: Config help for port forwarding self-hosted server

to handle dynamic ip use
/ip cloud set ddns-enabled=yes
& add a CNAME record for your domain
by panisk0
Tue Feb 11, 2025 2:09 pm
Forum: General
Topic: Wireguard slow in one direction...
Replies: 2
Views: 2103

Re: Wireguard slow in one direction...

someone in transit is making limits for udp like: /ip firewall raw add action=accept chain=prerouting dst-limit=10000,1000,src-address/1m protocol=udp /ip firewall raw add action=drop chain=prerouting protocol=udp try using other ports start with 53 ;P /interface/wireguard/set listen-port=53 to simu...
by panisk0
Fri Jan 31, 2025 11:33 am
Forum: General
Topic: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server
Replies: 10
Views: 5114

Re: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server

0/0 icmp is accepted:
Chain ufw-before-input (1 references)
[b]571K 34M[/b] ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
do ping on mikrotik from: 10.205.0.1 to: 10.202.10.13

on zabbix
tcpdump icmp and host 10.205.0.1
by panisk0
Thu Jan 30, 2025 3:56 pm
Forum: General
Topic: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server
Replies: 10
Views: 5114

Re: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server

log on zabbix...

first
root@vmzabbix:/home/administrator# ip ro
next
root@vmzabbix:/home/administrator# ufw status numbered
&next
root@vmzabbix:/home/administrator# tcpdump icmp
...and bring it to me
by panisk0
Wed Jan 29, 2025 9:50 pm
Forum: General
Topic: Wiregard to redundant routers
Replies: 6
Views: 3663

Re: Wiregard to redundant routers

if the ISP uses VRRP, it can also issue a roaming IP from the WAN side, then you will connect Wireguard to this IP
by panisk0
Wed Jan 29, 2025 8:31 pm
Forum: General
Topic: High CPU usage
Replies: 15
Views: 4795

Re: High CPU usage

/ip fi co tr pr
by panisk0
Wed Jan 29, 2025 3:44 pm
Forum: Beginner Basics
Topic: Roast my first ever Ros configure to be a switch
Replies: 4
Views: 3924

Re: Roast my first ever Ros configure to be a switch

on switch: /ip/settings/set ip-forward=no /ip/firewall/connection/tracking/set enabled=no generally: /ip service set telnet disabled=yes set ftp disabled=yes set www disabled=yes set ssh port=20022 set api disabled=yes set winbox port=28291 set api-ssl disabled=yes /tool mac-server set allowed-inter...
by panisk0
Wed Jan 29, 2025 3:33 pm
Forum: General
Topic: High CPU usage
Replies: 15
Views: 4795

Re: High CPU usage

look at: rx/tx p/s in interface menu
/ip fi fi pr co
by panisk0
Wed Jan 29, 2025 12:24 pm
Forum: General
Topic: IPSEC multiple policy with p2p
Replies: 15
Views: 5587

Re: IPSEC multiple policy with p2p

@mdd you are right IPIP will be a good solution for you.
Typically this is configured with IPSEC on a /30 link with a BGP neighborhood...
by panisk0
Wed Jan 29, 2025 12:11 pm
Forum: Beginner Basics
Topic: routing issue cannot ping
Replies: 3
Views: 4223

Re: routing issue cannot ping

remove: /ip address add address=192.168.1.2 comment="ether2" interface=ether2-pc1 network=192.168.1.0 add address=192.168.1.3 comment="server ether3" interface=ether3-SERVER network=192.168.1.0 add address=192.168.1.4 comment="POS ether4" interface=ether4-pc2 network=19...
by panisk0
Tue Jan 28, 2025 11:00 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4098

Re: Dual PPPoE Wan failover with specific port

I also add routing mark for firewall mangle (not required in 7.x) /routing rule add routing-mark=to_WAN_pppoe2 table=to_WAN_pppoe2 and adds a WAN connection address to handle outgoing connections via the backup (example, isp gw: 2.2.2.1 mikrotik ip: 2.2.2.2) /routing rule add src-address=2.2.2.0/30 ...
by panisk0
Tue Jan 28, 2025 10:37 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4098

Re: Dual PPPoE Wan failover with specific port

then what's this for? since * = main in the to_WAN_pppoe2 table you change the src-address /routing rule add action=lookup-only-in-table dst-address="LAN_subnet" table=main @TheCat12 - do you think this is enough? /routing table add fib name=to_WAN_pppoe2 /ip route add dst-address=0.0.0.0/...
by panisk0
Tue Jan 28, 2025 10:26 pm
Forum: General
Topic: Blocking admin services - Firewall rules
Replies: 30
Views: 7835

Re: Blocking admin services - Firewall rules

why are you logging this? This is normal traffic on the Internet /ip firewall filter add action=drop chain=input comment="Block Admin from WAN" dst-port=\ 21,22,23,80,443,8291,8728,8729 in-interface-list=WAN log-prefix=\ Block-Admin protocol=tcp add a jump for WAN to the top of the firewal...
by panisk0
Tue Jan 28, 2025 9:34 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4098

Re: Dual PPPoE Wan failover with specific port

How should it be to handle the default gateway in the to_WAN_pppoe2 table?
/ip route
add dst-address=0.0.0.0/0 gateway="backup_PPPoE_interface"

/ip route
add dst-address=0.0.0.0/0 gateway="backup_PPPoE_interface" routing-table=to_WAN_pppoe2
by panisk0
Tue Jan 28, 2025 2:47 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4098

Re: Dual PPPoE Wan failover with specific port

@TheCat12 <- you created a to_WAN_pppoe2 table that doesn't have a default gateway
He wrote that failover was working properly, I believe that the main table is ok.

/ip route
add dst-address=0.0.0.0/0 gateway="backup_PPPoE_interface" routing-table=to_WAN_pppoe2
by panisk0
Tue Jan 28, 2025 12:10 pm
Forum: General
Topic: MAC address table [SOLVED]
Replies: 6
Views: 6050

Re: MAC address table [SOLVED]

/ip/arp/print
/interface/bridge/host/print
by panisk0
Tue Jan 28, 2025 11:57 am
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4098

Re: Dual PPPoE Wan failover with specific port

you need to build an additional routing table to support both routes at the same time https://help.mikrotik.com/docs/spaces/ROS/pages/59965508/Policy+Routing full version for both links: /routing table add disabled=no fib name=to_WAN_pppoe1 add disabled=no fib name=to_WAN_pppoe2 /ip route add dst-ad...
by panisk0
Mon Jan 27, 2025 10:17 pm
Forum: Beginner Basics
Topic: QUEUE : PCQ + default-small combination (for WAN)
Replies: 4
Views: 4066

Re: QUEUE : PCQ + default-small combination (for WAN)

base que on IP make at least 3 que 1 main, 2 parrent local, 1 sub local_all before local_all add services as you wish do the same with internet access example in attachment & code below /queue simple add max-limit=1G/1G name=q100_Main queue=default/default target=10.0.0.0/8 add dst=10.0.0.0/8 ma...
by panisk0
Mon Jan 27, 2025 9:31 pm
Forum: Beginner Basics
Topic: Intermittent ISP Link Issue: Troubleshooting Layer 1 Instability
Replies: 1
Views: 3440

Re: Intermittent ISP Link Issue: Troubleshooting Layer 1 Instability

what transmission medium are you connecting to the ISP:
CU?
FX?
GPON?
DAC?

maybe it will help:
https://help.mikrotik.com/docs/spaces/R ... ansceivers
by panisk0
Mon Jan 27, 2025 9:16 pm
Forum: Beginner Basics
Topic: VRF on mgmt interface
Replies: 2
Views: 3496

Re: VRF on mgmt interface

remove port ether49 from bridge
by panisk0
Mon Jan 27, 2025 4:05 pm
Forum: General
Topic: Problems with NAT, I need to disable it.
Replies: 2
Views: 2617

Re: Problems with NAT, I need to disable it.

If something doesn't work after disabling NAT, it's a routing problem.
You should know the IP address of the portal and check what traffic the VPN carries. To recognize this Use /tool/torch on the vpn interface when it is running...
by panisk0
Mon Jan 27, 2025 3:56 pm
Forum: General
Topic: IP VPN works in Tow WANs
Replies: 2
Views: 2816

Re: IP VPN works in Tow WANs

policy routing if you want to use both routes at the same time
https://help.mikrotik.com/docs/spaces/R ... cy+Routing

or more simply set priority:
ip ro add dst-address 45.66.88.1 gateway 192.168.1.1 distance=1
ip ro add dst-address 45.66.88.1 gateway 192.168.2.1 distance=2
by panisk0
Mon Jan 27, 2025 11:52 am
Forum: Beginner Basics
Topic: How to recognize malicious connection: login failed via dude?
Replies: 1
Views: 3553

Re: How to recognize malicious connection: login failed via dude?

You are probably using a very old version of RouterOS, in new versions all logins are displayed as winbox. At the firewall level it is not possible to distinguish between winbox/dude applications. There are scripts that periodically monitor the local event log and add entries to: /ip/firewall/addres...
by panisk0
Mon Jan 27, 2025 11:09 am
Forum: General
Topic: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server
Replies: 10
Views: 5114

Re: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server

use the address from the network you have added to /ip/ipsec/policy
probably: 10.205.0.1

log on zabbix & show me: iptables -L -n -v

next check: tcpdump icmp

I think zabbix is ​​not responding or has the wrong route set...
by panisk0
Fri Jan 24, 2025 11:36 am
Forum: Beginner Basics
Topic: localsend/landrop cannot see each other
Replies: 1
Views: 3128

Re: localsend/landrop cannot see each other

/tool/torch

/tool/sniffer/set file-name=somefile.pecap
&
https://www.wireshark.org/
by panisk0
Fri Jan 24, 2025 11:26 am
Forum: General
Topic: showing login address in logs
Replies: 1
Views: 2174

Re: showing login address in logs

/ip fi ma add action=log chain=input dst-address=192.168.1.1 dst-port=8291 log-prefix=Winbox_x1 protocol=tcp
/ip fi ma add action=log chain=input dst-address=192.168.1.2 dst-port=8291 log-prefix=Winbox_x2 protocol=tcp
by panisk0
Wed Jan 22, 2025 11:44 am
Forum: General
Topic: IPsec tunel - 3 MT
Replies: 5
Views: 3861

Re: IPsec tunel - 3 MT

probably a NAT problem on office1 /ip ro add dst-address=192.168.10.0/24 gateway=172.10.20.1 pref-src=192.168.20.1 /ip fi na add action=accept chain=srcnat dst-address=192.168.10.0/24 on office2 /ip ro add dst-address=192.168.10.0/24 gateway=172.10.30.1 pref-src=192.168.30.1 /ip fi na add action=acc...
by panisk0
Sat Jan 18, 2025 10:53 am
Forum: Scripting
Topic: script for simple failover
Replies: 4
Views: 4157

Re: script for simple failover

use
/tool/netwatch set up-script=.... down-script=.....
&
/ping interface=ether......
by panisk0
Fri Jan 17, 2025 9:43 pm
Forum: Beginner Basics
Topic: fiber link between rb5009 and crs318 ramdomly down
Replies: 3
Views: 4561

Re: fiber link between rb5009 and crs318 ramdomly down

try
/interface/ethernet set sfp-rate-select=low sfp-sfpplus1
by panisk0
Wed Jan 15, 2025 6:29 pm
Forum: General
Topic: Routing a group of internal IPs through specific ISP
Replies: 2
Views: 1690

Re: Routing a group of internal IPs through specific ISP

you probably want to do: https://help.mikrotik.com/docs/spaces/R ... cy+Routing /routing table add disabled=no fib name=to_WAN_main add disabled=no fib name=to_WAN_sec /ip route add dst-address=0.0.0.0/0 gateway=1.1.1.1 routing-table=to_WAN_main add dst-address=0.0.0.0/0 gateway=2.2.2.2 routing-tabl...
by panisk0
Wed Jan 15, 2025 6:23 pm
Forum: General
Topic: asymmetric routing
Replies: 13
Views: 4956

Re: asymmetric routing

I think you are writing about this enables source validation / prevents asymmetric routing https://wiki.mikrotik.com/Manual:IP/Settings /ip settings rp-filter=strict what you probably want to do: https://help.mikrotik.com/docs/spaces/ROS/pages/59965508/Policy+Routing /routing table add disabled=no f...
by panisk0
Wed Jan 15, 2025 4:43 pm
Forum: Beginner Basics
Topic: Viewing Real-Time Bandwidth Graph in MikroTik
Replies: 1
Views: 3333

Re: Viewing Real-Time Bandwidth Graph in MikroTik

Try using TheDude...
by panisk0
Sat Jan 11, 2025 11:29 am
Forum: Forwarding Protocols
Topic: Routing traffic through Wireguard AND L2tp/IkeV2 problem
Replies: 1
Views: 4225

Re: Routing traffic through Wireguard AND L2tp/IkeV2 problem

leave
action=drop chain=input comment="Drop Wireguard traffic from local Wi-Fi" dst-port=51820 protocol=udp src-address=192.168.1.0/24

in the wireguard client configuration change
[Peer]
AllowedIPs = 0.0.0.0/0

to example:

[Peer]
AllowedIPs = 192.168.0.0/16
by panisk0
Sat Jan 11, 2025 11:10 am
Forum: Beginner Basics
Topic: Passive Bridge with Firewall
Replies: 2
Views: 3259

Re: Passive Bridge with Firewall

you don't need an additional bridge https://wiki.mikrotik.com/Manual:MPLSVPLS#Split_horizon_bridging or add filter rule on bridge /interface bridge filter add action=drop chain=forward in-interface=ether2 out-interface=ether3 or enable IP firewall usage on bridge /interface bridge settings set use-i...
by panisk0
Wed Jan 08, 2025 9:38 pm
Forum: Scripting
Topic: how to distributed the 1TB to 20 person
Replies: 1
Views: 3391

Re: how to distributed the 1TB to 20 person

/ip/hotspot
/ip/hotspot/user/set limit-...

...and probably at the end
https://help.mikrotik.com/docs/spaces/R ... imitations
by panisk0
Wed Jan 08, 2025 6:30 pm
Forum: Beginner Basics
Topic: Hotspot on Bridge VLAN
Replies: 13
Views: 5980

Re: Hotspot on Bridge VLAN

this device does not have a switch chip you can use multiple bridges if you do not use STP. This configuration will be closer to what you're using. example: /interface ethernet set [ find default-name=sfp-sfpplus1 ] name=sp1_WAN_myisp set [ find default-name=sfp-sfpplus7 ] name=sp7_UPLNK_sw1 set [ f...
by panisk0
Sun Jan 05, 2025 8:40 pm
Forum: General
Topic: Hotspot windows users login with wrong ip
Replies: 18
Views: 3576

Re: Hotspot windows users login with wrong ip

You have a hotspot limit of one session per user. Blocking the 169.254.0.0/16 in raw will solve this problem... ...repair dhcp, it will be easier. --- 08:31:51 hotspot,account,info,debug d5oy3ace (169.254.14.91): logged in 08:33:53 hotspot,info,debug d5oy3ace (192.168.17.132): login failed: simultan...
by panisk0
Sun Jan 05, 2025 1:05 pm
Forum: Scripting
Topic: verify update RouterOS, with memory
Replies: 11
Views: 5000

Re: verify update RouterOS, with memory

Set global variable

:global latest-version "7.16.2"

/system/script/environment print

look at:
https://help.mikrotik.com/docs/spaces/R ... /Scripting
by panisk0
Sun Jan 05, 2025 12:56 pm
Forum: General
Topic: Hotspot windows users login with wrong ip
Replies: 18
Views: 3576

Re: Hotspot windows users login with wrong ip

https://en.wikipedia.org/wiki/Link-local_address

probably the pool in dhcp has run out and windows connects with link-local addresses
by panisk0
Sun Jan 05, 2025 12:51 pm
Forum: Beginner Basics
Topic: Router on a stick struggles
Replies: 6
Views: 4361

Re: Router on a stick struggles

I guess, probably because of the VLAN filtering enabled on the bridge, you need to add:

/interface bridge vlan
add bridge=Main tagged=sfp-sfpplus1 vlan-ids=2

For testing, you can disable VLAN filtering.
by panisk0
Sat Jan 04, 2025 7:35 pm
Forum: Beginner Basics
Topic: Bridge vxlan and vlan trunk problem
Replies: 1
Views: 4268

Re: Bridge vxlan and vlan trunk problem

ping 172.16.0.1 src-address=172.17.0.1 reply? if you want to use 2x bridge on your router you should: add /interface/vlan and interface /interface/vxlan and then add them to a separate bridge... like this: /interface vlan add interface=ether2 name=v6e2_LNK_vxv vlan-id=6 /interface vxlan add local-ad...
by panisk0
Sat Jan 04, 2025 12:09 pm
Forum: Beginner Basics
Topic: Router on a stick struggles
Replies: 6
Views: 4361

Re: Router on a stick struggles

Switch is ok

On router change:
/interface vlan
add interface=sfp-sfpplus1 name=vlan2 vlan-id=2
and remove all vlan2 config from bridge

future: The router configuration should be changed to have one bridge

Mikrotik sometimes has trouble applying VLAN changes, I recommend restart...
by panisk0
Sat Dec 28, 2024 12:33 pm
Forum: General
Topic: static Names with DNS
Replies: 2
Views: 1809

Re: static Names with DNS

1. via dhcp-server you have to send the IP of your router in LAN /ip dhcp-server network set dns-server=192.168.88.1 domain=name.local 2. open port for DNS in firewall /ip/firewall/filter add action=accept protocol=udp port=53 3. allow remote requests /ip dns set allow-remote-requests=yes 4. add sta...
by panisk0
Fri Dec 27, 2024 12:51 pm
Forum: General
Topic: [solved] Restrict IPv6 access
Replies: 7
Views: 2499

Re: Restrict IPv6 access

/ipv6 firewall raw add action=drop chain=prerouting
by panisk0
Fri Dec 27, 2024 12:46 pm
Forum: Scripting
Topic: Issue with L2TP IP Pool Immediate Reuse - Need a Solution for Delayed Reassignment
Replies: 1
Views: 3498

Re: Issue with L2TP IP Pool Immediate Reuse - Need a Solution for Delayed Reassignment

try another way On Up: :log warning "user: $"user" connected at: $[/system clock get date] $[/system clock get time] from: IP wan: $"caller-id" IP vpn: $"remote-address"" /ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark c...
by panisk0
Sat Dec 21, 2024 12:22 pm
Forum: General
Topic: Wireguard VPN on dual WAN [SOLVED]
Replies: 37
Views: 8827

Re: Wireguard VPN on dual WAN [SOLVED]

this takes several steps, start with the correct configuration of the policy routing: /routing table add disabled=no fib name=to_WAN_main add disabled=no fib name=to_WAN_bkp /routing rule add action=lookup disabled=no src-address=1.1.1.0/30 table=to_WAN_main add action=lookup disabled=no routing-mar...
by panisk0
Thu Dec 19, 2024 9:14 pm
Forum: General
Topic: NTP Synchronization Issue with HMI in a Router-Switch Setup
Replies: 6
Views: 3209

Re: NTP Synchronization Issue with HMI in a Router-Switch Setup

does the HMI ask for time?

add rule
/ip fi ma add action=log chain=prerouting dst-port=123 protocol=udp
see logs when packages appear
by panisk0
Thu Dec 19, 2024 3:49 pm
Forum: General
Topic: Sending guest VLAN to VPN
Replies: 5
Views: 1677

Re: Sending guest VLAN to VPN

@canada
What is a floor for one person may be a ceiling for another ;P
by panisk0
Thu Dec 19, 2024 3:36 pm
Forum: Beginner Basics
Topic: problem with vlan configuration
Replies: 10
Views: 4168

Re: problem with vlan configuration

@martimk - if you know better, why do you ask?

on the computer do arp -a
you will see an entry for 192.168.10.1
but not for: 192.168.10.2

you can divide the /24 network into 2x /25 then it will work L3
by panisk0
Thu Dec 19, 2024 2:39 pm
Forum: Beginner Basics
Topic: route all traffic from interface though vpn
Replies: 5
Views: 3598

Re: route all traffic from interface though vpn

You need to base your routing on IP addresses.
Draw a diagram and I'll try to help...
by panisk0
Thu Dec 19, 2024 2:10 pm
Forum: Beginner Basics
Topic: problem with vlan configuration
Replies: 10
Views: 4168

Re: problem with vlan configuration

to answer your question:
Why does the computer connected to port vlan10-eth1 not see the computer in vlan10-eth2 and ping to address 192.168.10.2 does not work ?

ARP <-- without layer 2 there is no layer 3 / simple logic
by panisk0
Thu Dec 19, 2024 12:59 pm
Forum: Forwarding Protocols
Topic: BGP input filter with single provider
Replies: 4
Views: 4408

Re: BGP input filter with single provider

Ask your operator to send you only its own prefixes.
by panisk0
Thu Dec 19, 2024 12:55 pm
Forum: Beginner Basics
Topic: problem with vlan configuration
Replies: 10
Views: 4168

Re: problem with vlan configuration

by panisk0
Thu Dec 19, 2024 12:27 pm
Forum: Scripting
Topic: Kill Responder IP SEC connection
Replies: 1
Views: 3202

Re: Kill Responder IP SEC connection

it's easier to disable initialization on the firewall

/ip fi fi
add action=drop chain=input connection-state=new dst-port=500,4500 protocol=udp
add action=drop chain=input connection-state=new protocol=ipsec-esp
by panisk0
Thu Dec 19, 2024 12:12 pm
Forum: General
Topic: Sending guest VLAN to VPN
Replies: 5
Views: 1677

Re: Sending guest VLAN to VPN

for real network separation as you described you should use VRF
https://help.mikrotik.com/docs/spaces/R ... ding+-+VRF
by panisk0
Thu Dec 19, 2024 12:04 pm
Forum: Beginner Basics
Topic: route all traffic from interface though vpn
Replies: 5
Views: 3598

Re: route all traffic from interface though vpn

remove entry from NAT
show routing tables

add entry to routing policies, like:

/routing table add fib name=to_WAN_wg
/routing rule add action=lookup-only-in-table src-address=192.168.0.0/24 table=to_WAN_wg
/ip route add dst-address=0.0.0.0/0 gateway=192.168.0.1 routing-table=to_WAN_wg
by panisk0
Wed Dec 18, 2024 4:43 pm
Forum: Forwarding Protocols
Topic: 7.16 firewall issues
Replies: 3
Views: 3987

Re: 7.16 firewall issues

remove destination address from redirect rule dst-address=192.168.1.105 destination address is the WAN address obtained from dhcp-client /ip firewall nat add action=dst-nat chain=dstnat dst-address=192.168.1.105 dst-port=12349 in-interface-list=WAN protocol=tcp to-addresses=192.168.1.105 to-ports=12...
by panisk0
Tue Dec 17, 2024 9:41 am
Forum: Scripting
Topic: Port Scanner on subnet by Mikrotik
Replies: 1
Views: 3322

Re: Port Scanner on subnet by Mikrotik

no script needed, dude has it by default
by panisk0
Sun Dec 15, 2024 9:14 pm
Forum: Forwarding Protocols
Topic: Redundancy without loops
Replies: 5
Views: 5251

Re: Redundancy without loops

For draft 2 rstp/mstp is the best solution.
I'm afraid the implementation problem is due to UBI, in a similar environment ubi with cisco I wasn't able to run it correctly.
too many blinking iscons in this ubiquity
by panisk0
Sun Dec 15, 2024 3:12 pm
Forum: Beginner Basics
Topic: Simple Queues between Interfaces
Replies: 1
Views: 3896

Re: Simple Queues between Interfaces

LAN configuration is incorrect, if you want to use the /24 mask you have to make a bridge and assign it an IP /interface ethernet set [ find default-name=ether2 ] set [ find default-name=ether3 ] /interface bridge add name=bridge1 /interface bridge port add bridge=bridge1 interface=ether2 add bridge...
by panisk0
Sun Dec 15, 2024 2:36 pm
Forum: Forwarding Protocols
Topic: Needing of static routing rules for BGP VRF route leaking
Replies: 4
Views: 4925

Re: Needing of static routing rules for BGP VRF route leaking

imagine that each VRF instance is a separate physical router, would you then add routes?
by panisk0
Sun Dec 15, 2024 12:30 pm
Forum: Forwarding Protocols
Topic: BGP and DNS server
Replies: 1
Views: 3391

Re: BGP and DNS server

add to top in firewall /ip firewall filter add action=jump chain=forward comment="Forward DNS_test" dst-port=53 jump-target=Forward_DNS_test protocol=udp add action=return chain=Forward_DNS_test out-interface=e1_WAN # <-- your correct interface add action=return chain=Forward_DNS_test log=...
by panisk0
Sun Dec 15, 2024 12:11 pm
Forum: Beginner Basics
Topic: Need Help with L2TP VPN Access Issue in Dual WAN MikroTik Setup
Replies: 2
Views: 3653

Re: Need Help with L2TP VPN Access Issue in Dual WAN MikroTik Setup

you have a bug in mangle that's why it works after disconnecting WAN2 add to these rules dst-address=!10.0.0.0/16 /ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface="Local Network" \ new-connec...
by panisk0
Sat Dec 14, 2024 6:15 pm
Forum: Forwarding Protocols
Topic: BGP Routing via VLANs
Replies: 1
Views: 3930

Re: BGP Routing via VLANs

If for example in vlan3 your ip is 2.1.71.230 and your client has 2.1.71.229 and you do not have the correct entry in ARP on your router then you have a problem with L2. Check the the vlan configuration on the switches. + you also need to summarize the network to at least /24 to be able to publish i...
by panisk0
Fri Dec 13, 2024 1:15 pm
Forum: General
Topic: Bandwidth went down after trying massive simple queues
Replies: 2
Views: 1389

Re: Bandwidth went down after trying massive simple queues

you didn't write what hardware you are using?

what type queue is cake? (this section is missing in the configuration)

creating so many queues you should have a parent for them
by panisk0
Fri Dec 13, 2024 1:00 pm
Forum: General
Topic: Problem with SNMP over WireGuard
Replies: 1
Views: 1310

Re: Problem with SNMP over WireGuard

you probably don't have the correct networks added on the client side

/interface wireguard peers
add allowed-address=.........

or a convergent community in snmp
/snmp community
add addresses=....
by panisk0
Fri Dec 13, 2024 12:21 pm
Forum: General
Topic: SXT 6 Ethernet
Replies: 1
Views: 1179

Re: SXT 6 Ethernet

/tool graphing interface
add
/tool graphing queue
add
/tool graphing resource
add

read logs
after error check resource utilization
by panisk0
Fri Dec 13, 2024 11:58 am
Forum: General
Topic: How to configure bond with 2 switches and NAS [SOLVED]
Replies: 8
Views: 2732

Re: How to configure bond with 2 switches and NAS [SOLVED]

on #1 #remove ether1-ether4 from bridge create bonding if /interface bonding add mode=802.3ad name=bond1_LNK_sw2 slaves=ether1,ether2 /interface bonding add mode=802.3ad name=bond2_LNK_linux slaves=ether3,ether4 add bond if to bridge /interface bridge port add bridge=bridge1_LAN interface=bond1_LNK_...
by panisk0
Thu Dec 12, 2024 8:37 pm
Forum: General
Topic: IPsec Policy from Remote Site [SOLVED]
Replies: 3
Views: 1970

Re: IPsec Policy from Remote Site [SOLVED]

ensures 1<-->2 site connection via ipsec witch azure networks policies, and then use NAT on router site2 like: EXAMPLE-1 /ip route add dst-address=10.10.10.0/24 (network azure) gateway=1.1.1.1 (ISP GW) pref-src=192.168.1.1 (LAN mikrotik ip/site2) routing-table=main /ip firewall nat add action=masque...
by panisk0
Thu Dec 12, 2024 9:45 am
Forum: General
Topic: IPsec Policy from Remote Site [SOLVED]
Replies: 3
Views: 1970

Re: IPsec Policy from Remote Site [SOLVED]

on site 1 router you nead add ipsec policy witch dst net of azure and the reverse to site 2
nat it is not necessary if you set correct routing in azure
by panisk0
Tue Aug 23, 2022 10:30 pm
Forum: RouterOS beta
Topic: Health readings with v7 [SOLVED]
Replies: 50
Views: 42456

Re: Health readings with v7 [SOLVED]

RB5009UG+S+ v7.4

v6 code
:put [/system health get temperature]

v7 code
:put ([/system health get 0]->"value")
by panisk0
Wed Mar 10, 2021 9:46 am
Forum: Scripting
Topic: SRC Address for Email
Replies: 3
Views: 1556

Re: SRC Address for Email

/ip route
add distance=1 dst-address=123.123.123.123/32 gateway=10.199.199.1 routing-mark=to_SMTP
/ip route rule
add action=lookup-only-in-table dst-address=123.123.123.123/32 table=to_SMTP
by panisk0
Tue Mar 09, 2021 9:05 pm
Forum: Scripting
Topic: Send one email and stop
Replies: 12
Views: 4527

Re: Send one email and stop

make 2 if conditions

:local condition
:global informed

:if (($informed="YES") && ($condition>$example)) do={
:set informed YES
} else {
:set informed NO
}
by panisk0
Tue Apr 30, 2019 11:33 am
Forum: General
Topic: CRS317-1G-16S+RM / feature check
Replies: 0
Views: 724

CRS317-1G-16S+RM / feature check

Hi all
is there anyone who has CRS317-1G-16S + RM and can check if these switches support the MAC address limit per ports like series CRS1xx/2xx

/interface ethernet switch port
set ether6 learn-limit=1
set ether7 learn-limit=1

or how to do it differently but not statically
by panisk0
Thu Jun 07, 2018 10:36 am
Forum: Forwarding Protocols
Topic: Proxy url redirection
Replies: 1
Views: 988

Re: Proxy url redirection

/ip proxy access add redirect-to="abc.com" dst-host="123.com" action=allow

/p
by panisk0
Tue Jun 05, 2018 10:24 pm
Forum: Forwarding Protocols
Topic: OSPF
Replies: 2
Views: 1444

Re: OSPF

I had the same, mikrotik support considered this to be a L2 loop but I only have p2p links with ospf. the problem was solved by one rule in the firewall ;-) add action=jump chain=input comment="Input Links MO" in-interface-list=LNK_mo jump-target=Input_LNK_mo add action=accept chain=Input_...
by panisk0
Sun Apr 29, 2018 2:06 am
Forum: Forwarding Protocols
Topic: ospf asymmetric routing / query
Replies: 3
Views: 2031

Re: ospf asymmetric routing / query

I use ospf on dynamic links in wide area networks only to provide a loopback address for the bgp protocol. I would be pleased if there was a simple method to prevent this.

/p
by panisk0
Fri Apr 06, 2018 4:40 pm
Forum: General
Topic: SSTP Mikrotik Client / probably bug 6.41.3
Replies: 19
Views: 7900

SSTP Mikrotik Client / probably bug 6.41.3

I'm using sstp to connect two networks. I noticed that if some time the operator link flaps, the sstp client does not want to connect even if the link starts working correctly. The solution is to remove the sstp client and add a new one with identical parameters or restart the client's router. Appea...
by panisk0
Tue Apr 03, 2018 12:27 am
Forum: Scripting
Topic: IPSec Monitoring Script
Replies: 10
Views: 19766

Re: IPSec Monitoring Script

explore it: /tool netwatch

/p
by panisk0
Tue Apr 03, 2018 12:22 am
Forum: Scripting
Topic: USB port / LTE initialization
Replies: 1
Views: 990

Re: USB port / LTE initialization

/system routerboard usb power-reset duration=5

/p
by panisk0
Tue Apr 03, 2018 12:13 am
Forum: General
Topic: GRE IPsec / l2tp / lte
Replies: 7
Views: 3136

Re: GRE IPsec / l2tp / lte

Many gsm operators have a problem with nat for the gre protocol. I use sstp on lte links.
by panisk0
Mon Mar 19, 2018 7:09 pm
Forum: General
Topic: CAPsMAN / help or feature request
Replies: 8
Views: 2007

Re: CAPsMAN / help or feature request

MT_cap_cl.png

end of the topic
by panisk0
Mon Mar 12, 2018 9:02 pm
Forum: Scripting
Topic: dhcp client script / help needed
Replies: 1
Views: 1072

Re: dhcp client script / help needed

I will ask differently, how to reparse the text:
172.16.14.14/28
to receive:
172.16.14.0/28

/p
by panisk0
Mon Mar 12, 2018 8:42 pm
Forum: General
Topic: load balance on ip-ip tunnel
Replies: 1
Views: 965

Re: load balance on ip-ip tunnel

by panisk0
Mon Mar 12, 2018 8:38 pm
Forum: General
Topic: CAPsMAN / help or feature request
Replies: 8
Views: 2007

Re: CAPsMAN / help or feature request

I have no problem in L2 only in L3. I need to create an ACL in a firewall. It can be based on a list of interfaces. I will wait for a new firmware ...

/p
by panisk0
Sun Mar 11, 2018 7:13 pm
Forum: General
Topic: Multiple WAN Failover
Replies: 4
Views: 7001

Re: Multiple WAN Failover

This is a normal situation, read about Policy Base Routing

https://wiki.mikrotik.com/wiki/Policy_Base_Routing

/p
by panisk0
Sun Mar 11, 2018 7:03 pm
Forum: General
Topic: CAPsMAN / help or feature request
Replies: 8
Views: 2007

Re: CAPsMAN / help or feature request

I have two different authentication methods on two ssid networks. I do not know the mac addresses of these clients. As part of the same bridge, one dhcp server works. I need for customers in ssid: ABC use a different ACL than in ssid: DEF, that's all.
by panisk0
Sun Mar 11, 2018 5:11 pm
Forum: Scripting
Topic: dhcp client script / help needed
Replies: 1
Views: 1072

dhcp client script / help needed

I need to add to the /ip firewall address-list the network address that has been recved from dhcp client.

:global ipaddress [/ip dhcp-client get [/ip dhcp-client find where interface=e1_WAN] address]
result: 172.16.14.14/28
i need: 172.16.14.0/28

any ideas?
by panisk0
Sun Mar 11, 2018 4:55 pm
Forum: General
Topic: CAPsMAN / help or feature request
Replies: 8
Views: 2007

Re: CAPsMAN / help or feature request

What's new in 6.42rc39 (2018-Mar-07 07:01):

*) capsman - added support for "interface-list" in Access List and Datapath entries;

/p
by panisk0
Sat Mar 10, 2018 1:10 am
Forum: Forwarding Protocols
Topic: ospf asymmetric routing / query
Replies: 3
Views: 2031

ospf asymmetric routing / query

Is it possible on MT to use, for example, filters to prevent asymmetric routing? Without manual control of the cost parameter.

/p
by panisk0
Sat Mar 10, 2018 1:00 am
Forum: General
Topic: CAPsMAN / help or feature request
Replies: 8
Views: 2007

CAPsMAN / help or feature request

for many reasons, it has configurations as below |ssid: ABC---autch EAP -- user group_1 ---dhcp_server---brifge_1---| |ssid: CDE----autch PSK --user group_2 Both WLAN networks operate within one bridge with the same IP addresses I would like to be able to distinguish who connected to which SSID. May...
by panisk0
Sat Mar 10, 2018 12:34 am
Forum: General
Topic: SSTP & PPTP / feature request
Replies: 0
Views: 636

SSTP & PPTP / feature request

On multiple-access routers I have a common problem with SSTP tunnels where I can not specify the source address. The solution is the mangle array, but it complicates the configurations. Please add the local address option as in ipsec per.

/p
by panisk0
Fri Mar 09, 2018 11:49 pm
Forum: Scripting
Topic: Failover scrip / another idea
Replies: 0
Views: 884

Failover scrip / another idea

foR consideratioN 1. netwatch checks the availability of several hosts 2. the script examines netwatch results and changes routing 3. rest is a patch for routing /system scheduler add interval=11s name=Failover-sns on-event="/system script run Failover-sns" policy=read,write,policy,test,ro...
by panisk0
Wed May 11, 2016 11:41 pm
Forum: The Dude
Topic: syslog feature request
Replies: 1
Views: 1533

syslog feature request

I use the dude as a syslog server. I want to save log files in subdirectories for easier viewing.
by panisk0
Sun Mar 06, 2016 10:46 pm
Forum: General
Topic: Feature request:caps-man
Replies: 0
Views: 1082

Feature request:caps-man

please add option in provisioning section bind on interface. currently caps connected to all interfaces or vlans can assign configuration via l2