Hi everybody
Situation:
I have had a few attacks lately in respect to my Voip/Sip ..originating from Libanon..
They have been dialing in directly to my Sip server/Asterix unit ..surcomventing my Voip provider. No harm done but it is quite anoying when the phone starts ringing in the middle of the night
Basic setup of network:
Network type C:192.168.2.1-192.168.2.254
Mikrotik Router:192.168.2.254
Sip/Asterix unit:192.168.2.159
Voip/Sip Service provider:xxx.xxx.xxx.xxx
Goal:
I would like only to allow sip traffic that comes from my “Voip/Sip Service provider IP: xxx.xxx.xxx.xxx” to get trough the firewall. All other sip trafic should be dropped/blocked ( at least on the standard used ports 5060 etc…)
In short: Any other IP than attemps SIP should be dropped
My proposal:
/ip firewall filter
add chain=forward dst-address=192.168.2.159 action=jump jump-target=SIP Voip Interface comment=“All Sip/Voip traffic is checked”
add chain=SIP-server src-address=Voip/Sip Service provider IP:xxx.xxx.xxx.xxx protocol=udp dst-port=5060 action=“Allow traffic from Voip Provider”
add chain=SIP-server src-address=Voip/Sip Service provider IP:xxx.xxx.xxx.xxx action=drop comment=“Drop ilegal Sip Traffic”
Question:
1.Is this correct?
2.Is there another way?
BR
Jesper