Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - shans22

#1
Thanks AdSchellevis.
Fix syslog-ng-legacy-remote.conf and everything worked.
#2
Thanks for reacting AdSchellevis.
Logging/targets/Destinations works fine, but the list "Edit destination/Applications" there are no items "System events", "Mail service events" and "Portal Auth events". For example I need to log administrators coming to the server. How now to do it through Logging/targets?
#3
Hello Sense Team.
OPNsense 19.7.2
Faced with such a problem. If you specify a port other than 514 in the field "System/Settings/Logging -> Remote Syslog Servers" logs are not sent to the remote server on the specified port (for example 192.168.1.100:5145).
Line `network("192.168.1.100:5145" transport("udp") port(514) ip-protocol(4) localip(192.168.10));` in file /usr/local/etc/syslog-ng.conf.d/legacy-remote.conf starts to work correctly only after editing the view: `network("192.168.1.100" transport("udp") port(5145) ip-protocol(4) localip(192.168.10));` and restart service syslog-ng. Logs are then successfully sent to the remote server until the next reboot or logging configuration change.
Please tell me how to correctly assign the port.
#4
General Discussion / Re: FreeRADIUS user attributes
August 09, 2019, 02:58:41 PM
Сreated new issue in a github.com/opnsense/plugins/issues/
#5
General Discussion / FreeRADIUS user attributes
August 08, 2019, 11:07:31 PM
Hello Sense Team.
I apologize for my poor English.
Prompt, it is possible to use additional attributes in settings of users of FreeRADIUS.
For example.
I need to add the service-Type := Administrative-User attribute to one of the users. If I make changes directly to the /raddb/users file, everything works fine after restarting freeradius. But only until the "apply" button is pressed in Services: FreeRADIUS: Users and the /raddb/users file is overwritten.
It is logical to add new fields to the user form.
I added an additional field <label>Service Type</label> to /usr/local/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml. A new field has appeared in the user form.
Now the problem is in field <id>user._</id> order by pressing the "apply" button the value of the floor is transmitted to the file /raddb/users. Where values are matched <id>user ._</id> and "users" file attributes?
Thank You in advance for your help.