OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of gertfriend »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - gertfriend

Pages: [1]
1
19.1 Legacy Series / Re: Trouble with using API
« on: March 21, 2019, 10:00:33 am »
Sorry Franco, i didn't want nerve you and your team seen witch great work you do, i only thought that more people are using API and could help resolve the problem.

Now i resolved it. The problem was, that i was using curl from windows and windows has since ever trouble with quotas respectively double quotas so the solution for windowsuser is to enter change the -d in "{\"upgrade\":\"all\"}" so the single quotas should be replaced with double quotas and the double quotas will be escaped.

curl -XPOST -d "{\"upgrade\":\"all\"}" -H "Content-Type: application/json" -k -u "key":"secret" https://192.168.1.1/api/core/firmware/upgrade

2
19.1 Legacy Series / Trouble with using API
« on: March 15, 2019, 02:36:57 pm »
Hello,

i have trouble with the API.

I use curl. For now the following commands work:
curl -k -u "key":"secret" https://192.168.1.1/api/core/firmware/status
and
curl -XPOST -d '{}' -H "Content-Type: application/json" -k -u "key":"secret" https://192.168.1.1/api/core/firmware/poweroff

But none of the following commands work:
curl -XPOST -d '{"upgrade":"all"}' -H "Content-Type: application/json" -k -u "key":"secret" https://192.168.1.1/api/core/firmware/upgrade
nor
curl -XPOST -d '{"address":"1.0.1.10"}' -H "Content-Type: application/json" -k -u "key":"secret"  https://192.168.1.1/api/firewall/alias_util/add/BANNED

The result is always {"status":"failure"}.

And what should be posted to do a release update: 18.7 to 19.1

Thanks for any help

3
18.7 Legacy Series / Re: Import and Update own public certificate scheduled from shell
« on: January 20, 2019, 10:34:30 am »
Really nobody?

4
18.7 Legacy Series / Monitoring of Internetspeed
« on: October 04, 2018, 12:13:53 pm »
Hi again,

is there any possibility to monitor only the maximal Internetspeed used on WAN for download an upload for a couple of days?

Thanks again.

EDIT: Sorry, opening the eyes would help
IPERF is the required tool

5
18.7 Legacy Series / Import and Update own public certificate scheduled from shell
« on: October 04, 2018, 12:06:27 pm »
Hallo,

is there a possibility to import and update a own cer-certificate scheduled from the shell used for the gui?

Thanks for any answer.

6
17.1 Legacy Series / Re: Firefox access on WAN-Interface
« on: June 16, 2017, 09:20:08 am »
Found solution

In Firefox type about:support and there click "Refresh Firefox ..." and it worked.

7
17.1 Legacy Series / Firefox access on WAN-Interface
« on: June 01, 2017, 12:50:35 pm »
Hello, i use Firefox to access OPNsense from WAN with one limited IP. I set the configurationport to 44443. Since one of the last Firefoxupdates the performance to access the GUI is extremly slow so that i must wait 2 minutes until the GUI opens and also when i click on submenu in GUI the performance is slow. When i close Firefox i become a Crashscreen from Firefox.
I tried it with different OPNsense-Versions and on different Computers always the same. What can i do?

8
17.1 Legacy Series / Captive Portal: Start date and time of Vouchers
« on: May 03, 2017, 11:00:46 pm »
Is there a possibility to create Vouchers witch will be activated on first login?

It means, that at first logon time and date will be inserted in database and from there its valid for example a week.

This would be fine for preparing some Vouchers for future usage.

9
17.1 Legacy Series / Re: Whitelist of URLs in Captive Portal
« on: April 18, 2017, 11:27:54 am »
Nobody of the team?

10
16.7 Legacy Series / Re: Captive Portal Widget in the Dashboard
« on: April 18, 2017, 10:59:16 am »
Quote from: gertfriend on April 07, 2017, 03:26:41 pm
That would be a great feature.

Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?

For now i solved it with the following script, witch will write date and time and the number off logged in users in the cplogins.txt and this script is scheduled every 5 minutes:

Code: [Select]
z=$(date +"%d.%m.%Y %H:%M")
l=$(configctl captiveportal list_clients 0 | grep -w "anonymous" | wc -l)
echo $z $l >> /root/cplogins.txt

11
17.1 Legacy Series / Whitelist of URLs in Captive Portal
« on: April 07, 2017, 03:32:34 pm »
Would it ever be possible to whitelist URLs in Captive Portal, for example someone having a page info.clientsurl.com in which they host a page with internal information: dinner menu, activities for today ... without links to other URLs

I saw that this was just asked in github but i would ask to you if it would be integrated in newer versions.

12
16.7 Legacy Series / Re: Captive Portal Widget in the Dashboard
« on: April 07, 2017, 03:26:41 pm »
That would be a great feature.

Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?

13
17.1 Legacy Series / Re: Guestnet with 2 Trafficshaping rules
« on: March 06, 2017, 09:57:23 pm »
Nobody?

14
German - Deutsch / Frage zu Traffic Shaping
« on: March 06, 2017, 09:52:42 pm »
Hallo,

ich habe eine Frage zum Traffic Shaping und zwar habe ich 2 pipes aber ich kann pro regel nur eine pipe zuweisen. Wenn ich jetzt aber 2 Regeln erstelle wird dann die erste zutreffende Regel angewand und keine weitere überprüft?
Eine pipe wird auf Destination angewand und eine auf Source.
Es geht um folgendes:
Ich habe in Captive Portal und eine 100 Mbit Linie. Jetzt sollen für das Gästenetz nur max. 90Mbit hergenommen werden und zusätzlich soll jeder User maximal 5Mbit erhalten.
Gibt es für diese Konfiguration noch andere möglichkeiten?

Schönen Abend und danke für jede Antwort.

15
17.1 Legacy Series / Guestnet with 2 Trafficshaping rules
« on: February 23, 2017, 04:56:20 pm »
Hi,

first of all i will thank the developer Team of OPNsense for the great work they do.

Now my Problem with Trafficshaping

I have a syncron Internetconnection with 100Mbit Up- and Download

Now i Need to configure a guestnet where i need to set a global Limit for Up- and Download with 90Mbit

and

Limit per user with 3Mbit Up- and Download.

I configured a pipe with a Limit of 3Mbit and as mask Source and a pipe with a Limit of 90Mbit and as mask Destination but in the rules i can assign only 1 pipe.

Must i configure 2 rules, one for each pipe or will there be used the first rule found and all other ignored?

Thanks for helping me.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2