OPNsense Forum

English Forums => General Discussion => Topic started by: slusk on August 05, 2021, 08:22:07 pm

Title: Allow traffic from IOT to Lan on specific host and port.
Post by: slusk on August 05, 2021, 08:22:07 pm
Hi.
I am trying to get this to work here.. I am new to this :/

I have blocked all the traffic from IOT to the rest of the network but I want one host on IOT to be able to communicate with one host on LAN just for MQTT.

But I cant get it to work.. What have I done wrong?

(https://i.ibb.co/qgzFdNQ/1.png)
https://i.ibb.co/qgzFdNQ/1.png
(https://i.ibb.co/kB4hwWg/2.png)
https://i.ibb.co/kB4hwWg/2.png

Best regards.
Tomas
Title: Re: Allow traffic from IOT to Lan on specific host and port.
Post by: Greelan on August 05, 2021, 11:15:49 pm
If you want one host to one host you need a /32 CIDR
Title: Re: Allow traffic from IOT to Lan on specific host and port.
Post by: slusk on August 06, 2021, 12:10:30 am
I changed to /32 and that worked :)