OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of sp33dy »
  • Show Posts »
  • Topics
  • 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

Topics - sp33dy

Pages: [1]
1
Zenarmor (Sensei) / just installed zenarmor and i cant see the "devices" tab
« on: February 03, 2024, 09:42:04 am »
any ideas where that or is it for premium only?

EDIT: just watched this video and saw the "devices" tab that i have never seen before
https://www.youtube.com/watch?v=khC9TQ4pJqA&t=479s
~9:40 in

edit: premium did it

2
Intrusion Detection and Prevention / crowdsec - only show logs from the internal nic
« on: December 04, 2023, 11:03:31 am »
If i enable setting "Enable log for rules" i get log entrys both on wan and lan not matter if the rule even exists on the wan interface

i have a "block" on lan port for dst: crowdsec but i dont want it filled with crowdsec hits from wan.

is it possible to not have hits on wan and only on hits originating from lan?

3
23.7 Legacy Series / firewall.log vidget does not work after latest update OPNsense 23.7.8-amd64
« on: November 10, 2023, 07:46:33 am »
Atleast not for me, i get traffic logs under "live view" but noting on "home page" with vidget

4
General Discussion / getting custom script working
« on: December 14, 2022, 10:54:32 am »
in
/usr/local/opnsense/service/conf/actions.d/
i added
more actions_pingtest.conf

and the script

[start]
command:/etc/pingtest.sh
parameters:
type:script
description:run custom script
message:run script


and the pingtest script

#!/bin/sh

#=====================================================================
# pingtest.sh, v1.0.1
# Created 2009 by Bennett Lee
# Released to public domain
#*/30 * * * * #
# (1) Attempts to ping several hosts to test connectivity.  After
#     first successful ping, script exits.
# (2) If all pings fail, resets interface and retries all pings.
# (3) If all pings fail again after reset, then reboots pfSense.
#
# History
# 1.0.1   Added delay to ensure interface resets (thx ktims).
# 1.0.0   Initial release.
#=====================================================================

#=====================================================================
# USER SETTINGS
#
# Set multiple ping targets separated by space.  Include numeric IPs
# (e.g., remote office, ISP gateway, etc.) for DNS issues which
# reboot will not correct.
ALLDEST="ping.sunet.se idg.se"
#ALLDEST="irc.com"
# Interface to reset, usually your WAN
BOUNCE=igb3
# Log file
LOGFILE=/tmp/pingtest.log
#=====================================================================

COUNT=1
while [ $COUNT -le 2 ]
do

        for DEST in $ALLDEST
        do
                #echo `date +%Y%m%d.%H%M%S` "Pinging $DEST" >> $LOGFILE
                ping -c1 $DEST >/dev/null 2>/dev/null
                if [ $? -eq 0 ]
                then
                        echo `date +%Y%m%d.%H%M%S` "Ping $DEST OK." >> $LOGFILE
                        exit 0
                fi
        done

        if [ $COUNT -le 1 ]
        then
                echo `date +%Y%m%d.%H%M%S` "All pings failed. Resetting interface $BOUNCE." >> $LOGFILE
                /sbin/ifconfig $BOUNCE down
                # Give interface time to reset before bringing back up
                sleep 20
                /sbin/ifconfig $BOUNCE up
                # Give WAN time to establish connection
                sleep 20
        else
                echo `date +%Y%m%d.%H%M%S` "All pings failed twice. Rebooting..." >> $LOGFILE
#                  /sbin/shutdown -r now >> $LOGFILE
                exit 1
        fi

        COUNT=`expr $COUNT + 1`
done

it runs if i do
 configctl pingtest start

any ideas why it doesent run on the 5min schedule
/s




5
General Discussion / unbound just died during the night, how to use monit
« on: September 19, 2021, 10:02:23 am »
howdy

the unbound service died during the night, saw somewhere it could be "Register DHCP static mappings" so i disabled that now

anyhow is there a detailed guid on setting up monit and unbound, i really dont have a clue what to put in all those fields..and yes i saw the general howto but that doesent tell me how to get unbound/monit running


6
21.1 Legacy Series / freedns no longer update
« on: May 28, 2021, 08:21:17 am »
Since upgrade yesterday i notice that it just says "N/A" under cached ip

log says "/services_dyndns_edit.php: Dynamic DNS (xxxxxx.xxx): PAYLOAD: No username provided"

any ideas?

7
General Discussion / refresh web gui
« on: February 17, 2020, 08:54:09 am »
Any chance to change refresh time in the default dashboard

it refreshes every 6sec and i would like to change that to say 300 or 600 sec
any ideas?

EDIT: got it
/usr/local/www/index.php
and change value setTimeout

/s


8
19.1 Legacy Series / doesent revert rule with geobase work?
« on: February 15, 2019, 07:58:12 am »
...i´m outa here

9
General Discussion / does wan reconnect if it looses connectivity?
« on: February 11, 2019, 08:06:31 pm »
....

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