How to specify multiple CIDRs for port forwarding rules

Hello,

I'm attempting to follow this guide:

https://support.aa.net.uk/VoIP_Firewall

The first thing I'm stuck on is not being able to specify multiple CIDRs in the Luci interface when defining the SIP port forwarding rules.

The SIP inbound rules need to be restricted to the following CIDRs

81.187.30.110/31
81.187.30.112/29
90.155.3.0/24 
90.155.103.0/24 

How would be the best way to implement this, ideally using the UI?

Can I specify multiple forwarding rules for the same port with different incoming IP restrictions if I can only specify one CIDR at a time?

1 Like

Is configuring option ipset available for redirect rules? If they are, I assume they filter the source ips?

2 Likes

All sorted and seems to be working as intended.

I used a combination of the OpenWRT wiki and this post to connect stuff together.

Everything is defined in the /etc/config/firewall as I didn't need anything else.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.