B
B
BelongToDiE2019-02-21 17:55:06
Computer networks
BelongToDiE, 2019-02-21 17:55:06

How to block traffic from the internal network?

Hello.
There is a Mikrotik RB951G-2HnD running RouterOS v6. For many months everything has been working properly and without failures.
And then suddenly a letter from the provider arrives with the following content: "The equipment you have installed passes your local traffic to the public network. You need to block extraneous traffic from your internal network." Attached in the letter is tcpdump, which shows that addresses from the 192.168.1.0/24 subnet are breaking from different ports to external addresses on ports 80 and 443 (web traffic).
Bridge-local is implemented on Mikrotik, here is part of the firewall rules:

chain=input action=accept connection-state=established,related log=no log-prefix="" 
chain=input action=drop in-interface=IPS log-prefix="" 
chain=forward action=accept connection-state=established,related log=no log-prefix="" 
chain=forward action=accept in-interface=bridge-local out-interface=IPS log-prefix="" 
chain=forward action=accept in-interface=IPS out-interface=bridge-local log-prefix=""

I tried to prevent the local subnet from accessing the provider's interface, but this did not help:
chain=output action=drop dst-address=192.168.1.0/24 out-interface=IPS log=no log-prefix=""

Through wireshark, you can see that local client packets go to bridge-local.
I can't quite figure out how to solve this problem. Tell me, in which direction to dig?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vladimir, 2019-02-21
@MechanID

Check nat (masquerading)
Check that the wan port is not in the bridge with lan ports

D
Denis, 2019-02-21
@notwrite

Masquerade turn on

D
Dmitry, 2019-02-21
@hempy80

Umm, is the Internet working for your users?

S
sanglyb, 2019-02-28
@sanglyb

Check that there is no combination of providers and Lan ports in the bridge. In ip firewall nat, check that there is a masquerading rule.

R
Ruslan, 2020-05-03
@msHack

block traffic on the external port this will block incoming traffic on the WAN port
5eaec7f180be9288606169.png
chain input
protocol TCP
any port 443
in interface pppoe
action=drop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question