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] 2
1
22.1 Production Series / Re: Gateway switching unable to browse Internet
« on: February 07, 2022, 03:25:18 pm »
Sorry, my mistake. There was no Gateway set in Interface WAN2 so this interface wasn't declared as Gateway and in consequence there wasn't defined a Outbound NAT rule.

2
22.1 Production Series / Gateway switching unable to browse Internet
« on: February 07, 2022, 12:17:50 pm »
Hi,

can someone help me with Gateway switching.

I'm having 2 WAN on 2 Interfaces:
WAN1 -> 192.168.1.10
WAN2 -> 192.168.2.10

Now, if i enable Gateway switching and set priorities WAN1 10 and WAN2 20:
If WAN1 is online everything is working fine
If WAN1 is down the gateway is switching but browsing is not possible. The firewall can communicate with the Internet but the computers in Lan not.
If i manually add a Outbound NAT Rule for WAN2 browsing is working until WAN1 is back and WAN2 fails. Then browsing isn't possible anymore because Outbound NAT Rule for WAN1 is second and for the first Outbound rule the gateway isn't reachable.

What i'm doing wrong? Shouldn't work anything without creating a second Outbound Nat Rule.

Time ago i used Gateway Groups for this but first i'm not able to bring back working this and second are there limitations and additional configurations needed for VPN so i would do Failover with Gateway switching.

Thanks anybody for help.

3
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

4
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

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

6
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

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

8
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.

9
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?

10
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.

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

12
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

13
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.

14
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?

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

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