OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: g0nz0uk on March 26, 2021, 11:55:31 AM

Title: How to I create a network group/alias for rfc1918 subnets?
Post by: g0nz0uk on March 26, 2021, 11:55:31 AM
Hello,
I'm coming over from pfSense and I am trying to create a rfc1918 group to block local private subnets for my guest network.

In pfSense I just create a new alias and add the name and subnets, what am I doing wrong here as I don't get the option to add the local subnets?

https://imgur.com/MjXYB21
(https://imgur.com/MjXYB21)

Thanks
Title: Re: How to I create a network group/alias for rfc1918 subnets?
Post by: lfirewall1243 on March 26, 2021, 12:46:24 PM
You have to type them into the "content" section
Title: Re: How to I create a network group/alias for rfc1918 subnets?
Post by: g0nz0uk on March 26, 2021, 12:55:53 PM
Thanks, I've added 10.0.0.0/8, 192.168.0.0/16 and 172.16.0.0/12

Now I need to create an Alias for port 3074 on TCP and UDP, what is the format for this please?
Title: Re: How to I create a network group/alias for rfc1918 subnets?
Post by: lfirewall1243 on March 26, 2021, 12:57:32 PM
Create an alias with that Port
After than you have to create a Rule for UDP with that Alias. Same for TCP

You should read the Docs
https://docs.opnsense.org/manual/aliases.html

It's the same like in pfsense
Title: Re: How to I create a network group/alias for rfc1918 subnets?
Post by: g0nz0uk on March 26, 2021, 01:06:35 PM
thanks that worked