• Push Web Message to users

    3
    0 Votes
    3 Posts
    353 Views
    jimpJ
    The only way to do what you want is Captive Portal. And that would only be at the start of their login session, not a random time in the middle. Though I suppose you could keep CP off, then enable it to show a message to everyone. Kinda ugly though. Otherwise you get into things like squid and intercepting HTTP/HTTPS and doing MITM on TLS, which is a mess.
  • NST or SecurityOnion for log analysis?

    10
    0 Votes
    10 Posts
    1k Views
    T
    @bxueye4 said in NST or SecurityOnion for log analysis?: @tim-mcmanus said in NST or SecurityOnion for log analysis?: I have used SecurityOnion for excellent results. I set it up as an ESXi VM and then mirrored the traffic from two different WAN ports to it as well as two different physical LANs. Very helpful with pcaps and analysis in near-real time, which is what I was mostly using it for. Easy to download, setup, and start working with. I will use it again if the occasion arises, I still have the VM floating around somewhere... glad to hear it worked well. i plan on mirroring too. the VM installed on its own SSD easy enough and seems ready to go. that's as far as i've gotten, will drill down into it soon. thx Remember to set the VM NIC to promiscuous so you actually see traffic.
  • NAT Configuration doubt!

    6
    0 Votes
    6 Posts
    617 Views
    P
    Hey @Derelict thanks for the video explaining how to configurar the HA. The manual that I was looking at is a bit out dated that is why I was having so many doubts. Now things are way more clear.
  • 0 Votes
    33 Posts
    4k Views
    M
    Just wanted to post an update - while its only been 4 days since I got the new modem so far I have not had any more lockups/dropouts even pushing 200GB per day transfer (I've been trying to run frequent speed tests, several pings, plus normal traffic). Also while I have some channels with "corrected" frames on the modem its only 10 or so at most and 0 uncorrectable (down from many thousands) On pfSense Status > Monitoring reports only 0.21% maximum packet loss and 0% average and my ping has stayed below 50mS even under load and immediately returns to <10mS when load lets up. The dmesg output shows no unexpected messages, no flapping, no "watchdog" errors and no "llinfo" errors. It seems stable once again. Hopefully I didn't just jinx it. EDIT: 7 days now going strong.
  • My OpenVPN is hacked?

    4
    0 Votes
    4 Posts
    698 Views
    KOMK
    @emammadov said in My OpenVPN is hacked?: TCP:PA TCP Push Ack. Google it. http://packetlife.net/blog/2011/mar/2/tcp-flags-psh-and-urg/ Default deny rule IPv4 Default firewall rule to deny all IP4 traffic Block all IPv6 Block all IP6 traffic
  • High rate of errors - is this normal?

    6
    0 Votes
    6 Posts
    959 Views
    Z
    Hardware is System Netgate SG-2440 I've checked cables etc., I see no packet loss even under heavy load, and throughput through the router (from LAN -> router -> WAN) is normal (~700Mbps, which is likely a limitation on the Xfinity side and not the router).
  • Cant ping my netgate remotely or webgui into firewall.

    31
    0 Votes
    31 Posts
    3k Views
    stephenw10S
    Yes, the easyrule won't cover that. Easy to overlook LANnet as source in the rules Steve
  • 3 short beeps exactly every 15 minutes - no idea what the cause is

    5
    0 Votes
    5 Posts
    914 Views
    stephenw10S
    Hmm, curious! I would definitely try changing the dyndns update period just to be sure it's not related. I would also check the temperature is reasonable. Steve
  • Traffic Totals not correct

    3
    0 Votes
    3 Posts
    521 Views
    gregeehG
    No ideas anyone? TIA Greg
  • VLAN vs Dual LAN for Home Business

    dual lan vlan qotom
    8
    0 Votes
    8 Posts
    2k Views
    T
    @johnpoz When I installed pfSense on the new router I created two interfaces... I had read on the basic firewall page that OPT interfaces have no rules and forgot that - thanks for setting me straight and waking me up. Firewall rules are scary but I'm getting there.
  • UI Bugs?

    3
    0 Votes
    3 Posts
    532 Views
    jimpJ
    The P2s will only show in the status if they are active. If there is no traffic that has attempted to establish the P2, then the P2 won't exist and won't show there in the list. Only P1s will show up at all times, even if they are down/inactive.
  • Access the IPSec server address from a remote IPSec server

    7
    0 Votes
    7 Posts
    889 Views
    DerelictD
    Well, in my opinion the easiest way to do that is to run DNS off the firewall so the queries are organically sourced from something interesting to the tunnel. In the Resolver (unbound) you can set one outgoing interface for queries it needs to resolve. That could be the LAN. All queries going to the outside will then have to go through NAT but that is generally not an issue. In the Forwarder (dnsmasq) you can set the source address on a per-domain-override basis. Again, if it important, I'd run a couple of bind instances on the inside.
  • Why does this forum have only an IPv4 address?

    5
    1 Votes
    5 Posts
    759 Views
    JKnottJ
    @gertjan said in Why does this forum have only an IPv4 address?: Yes: 2610:160:11:18::199 Yep. I see that too.
  • Gigabit WAN + OpenVPN -- Speed on WAN for policy routed devices

    5
    0 Votes
    5 Posts
    878 Views
    stephenw10S
    I would only expect to see that reduction if something else is using the VPN connection. If there is no VPN traffic then the full WAN bandwidth should be available for clients routing directly. Unless you have some traffic shaping in play. 100Mbs doesn't seem bad for a VPN provider but speeds do vary wildly. 70-95% is not a useful measure, there things are almost certainly limited at the VPN provider in absolute terms. What hardware are you running this on? You may be hitting a local limit there. Steve
  • VPN routing in high availability setup

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    stephenw10S
    All of them if you needs communication all ways. the rules should be very specific though to avoid catching traffic incorrectly and since they apply per node often they would have 'do not sync' set. This thread is 2 years old though, please open a new thread if you have questions about a similar setup. Steve
  • Routing between interfaces..

    9
    0 Votes
    9 Posts
    1k Views
    stephenw10S
    That looks correct. You can't route over policy based IPSec. But if you NAT the subnets you can make the traffic match an existing policy. Steve
  • How to permit a new HTTPS port

    15
    0 Votes
    15 Posts
    1k Views
    L
    @zacha Thank you! you're a Hero!! Your solution helped me. And i confess, i've already seen it!
  • Traffic not going though WAN when server is on different local network

    4
    0 Votes
    4 Posts
    461 Views
    JKnottJ
    You'd have to set up the firewall rules to block traffic between the VLANs and also allow it out the VPN
  • pfSense no internet connection with Rogers Coda 4582 in Bridge Mode

    12
    0 Votes
    12 Posts
    2k Views
    S
    @jknott @bfeitell thanks a lot! After setting as DHCP, internet works under bridge mode. Will spend some time to explore IPv6.
  • Help with pfsense backup script

    12
    1 Votes
    12 Posts
    3k Views
    wgstarksW
    Here's what I finally worked out- BACKUP_HOST=<gateway_IP> BACKUP_USER=<user_name> BACKUP_PASSWORD=<user_password> # Create config file directory if it doesn't exist [ -d files/ ] || mkdir files # Fetch the login form and save the cookies and CSRF token: wget -qO- --keep-session-cookies --save-cookies cookies.txt \ --no-check-certificate https://${BACKUP_HOST}/diag_backup.php \ | grep "name='__csrf_magic'" | sed 's/.*value="\(.*\)".*/\1/' > csrf.txt # Submit the login form along with the first CSRF token and save the second CSRF token (can’t reuse the same file) – now the script is logged in and can take action: wget -qO- --keep-session-cookies --load-cookies cookies.txt \ --save-cookies cookies.txt --no-check-certificate \ --post-data "login=Login&usernamefld=${BACKUP_USER}&passwordfld=${BACKUP_PASSWORD}&__csrf_magic=$(cat csrf.txt)" \ https://${BACKUP_HOST}/diag_backup.php | grep "name='__csrf_magic'" \ | sed 's/.*value="\(.*\)".*/\1/' > csrf2.txt # Submit the download form along with the second CSRF token to save a copy of config.xml: wget --keep-session-cookies --load-cookies cookies.txt --no-check-certificate \ --post-data "download=download&donotbackuprrd=yes&__csrf_magic=$(head -n 1 csrf2.txt)" \ https://${BACKUP_HOST}/diag_backup.php -O ./files/config_${BACKUP_HOST}_$(date +%Y-%m-%d-%H-%M-%S).xml 2>/dev/null # Clean up rm cookies.txt csrf.txt csrf2.txt unset BACKUP_HOST BACKUP_USER BACKUP_PASSWORD # Remove files older than 100 days find /mnt/user/odin_backup/OdinBackUp/files/ -type f -name '*.xml' -mtime +100 -exec rm {} \; I did have to change permissions for the backup user though. Even when I used the code in the link that @Gertjan provided and just substituted the correct IP, user and password I would still get the error shown in my first post. Once I added "all pages" to the backup user's permissions the errors went away. I think that the default code in the link didn't generate an error because it uses the default admin/pfsense user which has full privileges IIRC. Just a guess. @Gertjan and @stephenw10 Thanks again for your help. Very much appreciate it.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.