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 - mseelig

#1
General Discussion / External FTP Access
March 27, 2023, 03:48:03 PM
Hi,

since I have installed opnsense as my firewall, I am not able to send/receive data from my external FTP Server. I am able to connect and login but as soon as I try to send/receive data I get an error "No data connection".

I have no port restrictions from my LAN to the WAN so either active and passive ftp should work. What do I miss?

I found out by a program that tries to ssend files per ftp automaticly that it is not working, but also when I try with ftp command from windows I have the same result.

Thanks for any help!

Michael
#2
Development and Code Review / Cleaning Sessions
February 09, 2023, 06:00:35 PM
Hi,

I am using the Local Directory Users with CaptivePortal. A user subscribes and gets credit for a certain time which is defined by the Expire Date attribute. To prevent, that the user has to login all the time, I set Hard Timeout and Cear Timeout to zero.

Of course I run into the problem now, that once a session has ben created for a user, opnsense will not check if the Expiration Date of the user using this session has expired already.

My Idea was to create a cron job who would iterate through the zone sessions and disconnect every zone where the user has expired. So far so good. I was able to create a little python script to iterate through the sessions from the zone and I also would be able to disconnect. But I am not able to lookup the user to check the expiration date with the API.

So I think I need to write a php class to resolve that. Is it possible to have a cron job in php to do the job?

Michael
#3
General Discussion / Re: Modify user list view in GUI
February 07, 2023, 10:07:13 AM
Thanks Bart!

I'll try there!
#4
General Discussion / Modify user list view in GUI
February 07, 2023, 04:13:33 AM
Hi,

I am a newbie with OPNsense, just installed and configured basics. Something I miss in the user list overview is to have the expiration date as a column in the list. Is there any way to customize that (user override php class or so)?

I digg arround and found system_usermanager.php, but I did not find out how to add the column.

Any help would be appriciated!
Michael