Re: [pfSense] Aliases grouping
Hi Luc, here's my basic naming convention names are composed with this pattern {optional prefix}*{nature}-{relevant information that depends on the nature}-{sequence number}*-{optional_suffix} for the alias in pfSense I use the same convention and - the "net" nature for a network - the "g" as a prefix when it's a group of something i.e. gvs-dmz1 : group of virtual server of dmz1 gs-freenas-SiteName = group of freenas servers in SiteName gNet-SiteName = group of networks of SiteName gNet-dmz-sitename = group of networks of all dmz of sitename *examples of {nature} *s : server d : desktop l : laptop p : printer c - camera m – machine (production) id - id scanner sc / ss / sd / sa : switch core / site / distribution / access fw - firewall ap - wifi access point r - router lb - load balancer net - network prefix "v" if it's virtual (I still don't make a difference between complete vm, jails, containers) "g" if it's group suffix ## - sub sequence number for switches in stack oob - out of band connectivity *examples of {relevant information}* _for a switch :_ {nature}-{sitename}-{geographical information that is basically the technical room name}-{sequence} i.e. "sa-tokyo-a22-3" nature : access switch site : tokyo geo : technical room A22 = building A / floor 2 / 2nd room sequence : 3rd switch i.e. "sd-shanghai-57E-2-4" nature : distribution switch site : shanghai geo : technical room "57E" = floor 57 / est sequence : stack 2 / 4rd switch note : SiteName must be unique so I try to choose names that are more precise then just the town, usually it's the building name or the street name..etc... _for a server_ {nature}-{server_type}-{sequence}-{optionnal_suffix} i.e. s-freenas-paris-1 s-freenas-paris-1-oob vs-proxy-newyork-1 vs-ftp-newyork-1 _for a desktop__ _ {nature}-{sitename}-{sequence} i.e. d-hongkong-1 hope you'll find it usefull DS On 08/12/2016 03:56, Luc Paulin wrote: Great .. thanx all ... At first it's not obvious that we can enter "name" in those box. For curiosity how do you manage the aliases naming ? Do you have some sort on naming convention depending of the aliases is an IP/Host/Network and or if it's and aliase of aliases ? -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: paulinster(at)gmail.com Skype: paulinster 2016-12-07 14:45 GMT-05:00 Oliver Hansen: I can confirm I've done this as well. On Dec 7, 2016 11:36 AM, "Christoph Hanle" wrote: Hi, short answer: Yes ! I do it by: Create Alias / Type: Host(s) / IP or FQDN, this can also be an Alias, i found that the Alias is not (!) limited to be a single IP, can be an Alias whith whatever content. Christoph On 07/12/16 20:19, Luc Paulin wrote: Hi, Is there a way to create group of aliases... For example, let say I create OFFICE1_NET OFFICE2_NET Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and OFFICE2_NET -Luc -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: paulinster(at)gmail.com Skype: paulinster ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
2.2 and earlier colored the field/text box background red if it would take an alias, as I recall. Looks like that was removed with the new GUI in 2.3? If you start typing it will "autocomplete" with matching aliases. Agreed, the Firewall/Aliases/Edit page should probably say that we can type in an alias. -- Steve Yates ITS, Inc. -Original Message- From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Luc Paulin Sent: Wednesday, December 7, 2016 1:56 PM To: pfSense Support and Discussion Mailing List <list@lists.pfsense.org> Subject: Re: [pfSense] Aliases grouping Great .. thanx all ... At first it's not obvious that we can enter "name" in those box. ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
On Wed, Dec 7, 2016 at 2:56 PM, Luc Paulinwrote: > For curiosity how do you manage the aliases naming ? Do you have some sort > on naming convention depending of the aliases is an IP/Host/Network and or > if it's and aliase of aliases ? > I tend to use names like "DeveloperHosts" and "WebserverPorts" where the last part describes what it is. But the GUI makes it easy for you and only presents what's sensible for auto-fill in each place you can use one. ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
Great .. thanx all ... At first it's not obvious that we can enter "name" in those box. For curiosity how do you manage the aliases naming ? Do you have some sort on naming convention depending of the aliases is an IP/Host/Network and or if it's and aliase of aliases ? -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: paulinster(at)gmail.com Skype: paulinster 2016-12-07 14:45 GMT-05:00 Oliver Hansen: > I can confirm I've done this as well. > > On Dec 7, 2016 11:36 AM, "Christoph Hanle" > wrote: > > Hi, > short answer: > Yes ! > > I do it by: Create Alias / Type: Host(s) / > IP or FQDN, this can also be an Alias, i found that the Alias is not > (!) limited to be a single IP, can be an Alias whith whatever content. > > Christoph > > On 07/12/16 20:19, Luc Paulin wrote: > > Hi, > > Is there a way to create group of aliases... > > > > For example, let say I create > > OFFICE1_NET > > OFFICE2_NET > > > > Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and > > OFFICE2_NET > > > > -Luc > > > > > > > > -- > > ! > >( o o ) > > --oOO(_)OOo-- > >Luc Paulin > >email: paulinster(at)gmail.com > >Skype: paulinster > > ___ > > pfSense mailing list > > https://lists.pfsense.org/mailman/listinfo/list > > Support the project with Gold! https://pfsense.org/gold > > > > ___ > pfSense mailing list > https://lists.pfsense.org/mailman/listinfo/list > Support the project with Gold! https://pfsense.org/gold > ___ > pfSense mailing list > https://lists.pfsense.org/mailman/listinfo/list > Support the project with Gold! https://pfsense.org/gold > ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
I can confirm I've done this as well. On Dec 7, 2016 11:36 AM, "Christoph Hanle"wrote: Hi, short answer: Yes ! I do it by: Create Alias / Type: Host(s) / IP or FQDN, this can also be an Alias, i found that the Alias is not (!) limited to be a single IP, can be an Alias whith whatever content. Christoph On 07/12/16 20:19, Luc Paulin wrote: > Hi, > Is there a way to create group of aliases... > > For example, let say I create > OFFICE1_NET > OFFICE2_NET > > Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and > OFFICE2_NET > > -Luc > > > > -- > ! >( o o ) > --oOO(_)OOo-- >Luc Paulin >email: paulinster(at)gmail.com >Skype: paulinster > ___ > pfSense mailing list > https://lists.pfsense.org/mailman/listinfo/list > Support the project with Gold! https://pfsense.org/gold > ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
Hi, short answer: Yes ! I do it by: Create Alias / Type: Host(s) / IP or FQDN, this can also be an Alias, i found that the Alias is not (!) limited to be a single IP, can be an Alias whith whatever content. Christoph On 07/12/16 20:19, Luc Paulin wrote: > Hi, > Is there a way to create group of aliases... > > For example, let say I create > OFFICE1_NET > OFFICE2_NET > > Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and > OFFICE2_NET > > -Luc > > > > -- > ! >( o o ) > --oOO(_)OOo-- >Luc Paulin >email: paulinster(at)gmail.com >Skype: paulinster > ___ > pfSense mailing list > https://lists.pfsense.org/mailman/listinfo/list > Support the project with Gold! https://pfsense.org/gold > ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
Re: [pfSense] Aliases grouping
No I don't believe so. It probably makes more sense to create a firewall rule for each office network. On Wed, Dec 7, 2016 at 2:19 PM Luc Paulinwrote: > Hi, > Is there a way to create group of aliases... > > For example, let say I create > OFFICE1_NET > OFFICE2_NET > > Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and > OFFICE2_NET > > -Luc > > > > -- > ! >( o o ) > --oOO(_)OOo-- >Luc Paulin >email: paulinster(at)gmail.com >Skype: paulinster > ___ > pfSense mailing list > https://lists.pfsense.org/mailman/listinfo/list > Support the project with Gold! https://pfsense.org/gold > -- Arthur Wiebe | +1 519-670-5255 | dnsthingy.com ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
[pfSense] Aliases grouping
Hi, Is there a way to create group of aliases... For example, let say I create OFFICE1_NET OFFICE2_NET Can I create an aliases= ALL_OFFICES that will contain OFFICE1_NET and OFFICE2_NET -Luc -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: paulinster(at)gmail.com Skype: paulinster ___ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold