• Script to Check if OpenVPN is Up or Down

    2
    0 Votes
    2 Posts
    2k Views
    H
    go into the developer shell once and create a script: pfSense shell: record checkopenvpn_status Recording of checkopenvpn_status started. pfSense shell: require_once("openvpn.inc"); pfSense shell: $clients = openvpn_get_active_clients(); pfSense shell: print_r(array_values($clients)); pfSense shell: stoprecording Recording stopped. then either do from devshell playback checkopenvpn_status or from normal shell or console: [2.3-ALPHA][root@pfsense.xxxx]/root: pfSsh.php playback checkopenvpn_status Starting the pfSense developer shell.... Array (     [0] => Array         (             [port] =>             [name] => vpn to xxxx             [vpnid] => 1             [mgmt] => client1             [status] => up             [connect_time] => Sat Oct 3 1:49:14 2015             [virtual_addr] => xxxx             [remote_host] => xxxxx             [bytes_recv] => 151003156             [bytes_sent] => 151211004         ) ) adjust however you want offcourse. relevant functions: openvpn_get_active_servers(); openvpn_get_active_servers("p2p"); openvpn_get_active_clients(); for more insight: https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/status_openvpn.php
  • Traffic graph on dashboard not working

    11
    0 Votes
    11 Posts
    6k Views
    D
    Much easier fix: https://github.com/pfsense/pfsense/pull/1954 - merged and will be fixed in next 2.2.5 snapshot.
  • Pfsense as SSH VPN.

    3
    0 Votes
    3 Posts
    1k Views
    S
    use cheap webhosting instead of vps :) ssh everywhere
  • Does pfSense branded hardware get lifetime OS upgrades?

    6
    0 Votes
    6 Posts
    1k Views
    J
    Thanks!  I kinda had that vibe.  Just wanted to check
  • Packages are currently being reinstalled in the background

    8
    0 Votes
    8 Posts
    4k Views
    W
    Same here, I noticed a "clear package lock" button in that area: Diagnostics -> Backup/Restore -> Reinstall packages Then I noticed on the installed packages list that there were several packages that had available updates.  So one of the packages isn't re-installing well.  I just manually updated / reinstalled the packages that had updates in the pkg button.
  • "Failed to obtain IP address" ?? DHCP problem

    26
    0 Votes
    26 Posts
    8k Views
    MellowlynxM
    Ended up starting over after a system factory default. Now two weeks later there are problems again!!  >:( Read here > https://forum.pfsense.org/index.php?topic=100549.0
  • MOVED: ATA Status error

    Locked
    1
    0 Votes
    1 Posts
    546 Views
    No one has replied
  • AT&T Uverse Static IP's

    3
    0 Votes
    3 Posts
    2k Views
    jahonixJ
    @icemanncsu: … spoofing the MAC address ... and I statically assign the originally assigned DHCP address as a static to the WAN interface. Why that? If you already spoof the MAC then it should pull the same IP from DHCP server. Remember to K.I.S.S.!
  • Pfsense kills browsing

    7
    0 Votes
    7 Posts
    1k Views
    A
    @muswellhillbilly: A thought: Every one of the packages you've installed generates log files - quite big ones depending on traffic volume. Have you checked to see whether your filesystem is getting used up with log data? all seems to be logging normal messages. nothing in the logs seems to be a clue.
  • Link dropping

    3
    0 Votes
    3 Posts
    871 Views
    F
    yeah, the system on that segment (PBX) has its own DHCP server, the person who set it up set it up with DHCP giving out addresses from 192.168.2.1-99, well of course the router interface is 192.168.2.1, so that was the failure.
  • Blocking All websites except 2 websites for some users

    8
    0 Votes
    8 Posts
    4k Views
    C
    This is an example directly in Squid. Almost similar behaviour can be achieved using Squidguard that is also able to handle ACL, users and groups. It should perhaps be feasible using pfSense GUI, this I don't know as I'm not Squid user on pfSense  8) logic is always pretty much the same: define white list covering what is allowed to all allow white list access deny group of restricted users authorize all others
  • Virtual pfsense - vlans - loadbalancing - gateway group

    2
    0 Votes
    2 Posts
    920 Views
    F
    Well, I've managed to answer and fix this myself, I had to set the gateway group on the firewall rule, I also had to change the ESXi vswitch configuration and instead of using vlans on pfsense I created seperate vlans on the port group and added a vnic for each vlan…working like a dream. Just thought I'd write back for anyone who may come to face the same/similar issues.
  • Pfsense booting problem

    9
    0 Votes
    9 Posts
    1k Views
    N
    @ivor: Sure, it backs up everything. So when you restore the config upon reboot it will install the package. Thank you, i already install fresh pfsense on 2 new hard drive for backup pusrpose. :) @doktornotor: You should have rather backed up your computer before installing the Acronis POS. Dead serious about it. I don't know about that, thank you i really appreciate it.
  • Problem with getting packeges

    5
    0 Votes
    5 Posts
    1k Views
    K
    I've fixed it. I don't think, that installing newer version helped, since my old one 2.1.2 was working like a charm. More likely it was hardware problem. Network card, that was designated as LAN was prioritised on hardware level, so all traffic tried to go through LAN. I've just switched IP's on network cards and everything working just fine. To whoever might be looking for similar problem - check if your network adapters assigned right and their priority. Thanks to everyone for help.
  • Pfsense firewall in front of public ip's

    4
    0 Votes
    4 Posts
    930 Views
    C
    @newbie2015: can u tell me how? https://doc.pfsense.org/index.php/Outbound_NAT
  • Is there 'too much'

    5
    0 Votes
    5 Posts
    1k Views
    T
    @garethsnaim: I have ordered an ultra sff dell 745 from ebay for £29 which I think is a good 'size' for the task. I will probably get a SSD in the near future as well. I am hopeful there is a methodology to export settings and import to the new PC. Yes, it's as simple as exporting from the old and importing to the new.  I did that while swapping out completely different hardware.  It's fairly painless.
  • CrystalFonts CFA633USB & PFSense - cant get LCDProc to work

    17
    0 Votes
    17 Posts
    4k Views
    M
    Cool.  I may have to pick one of those up and muck around.
  • High load/interrupt and CPU usage

    6
    0 Votes
    6 Posts
    5k Views
    A
    @KOM: Sorry, I think I had it backwards.  If you have high interrupts, try enabling polling to see if it calms down somewhat. I enabled it and the load didn't move too much in either direction. Thank you for the suggestion. @heper: i personally haven't had much luck by enabling polling. it just slowed things down in my case. have you tried some of the tuning tips here? http://bsdrp.net/documentation/examples/forwarding_performance_lab_of_a_hp_proliant_dl360p_gen8_with_10-gigabit_with_10-gigabit_chelsio_t540-cr i don't own 10gbe equipment, but i don't think it can hurt to try. I will have to take a look at this. Thanks for providing it. On another note, the load appears to be around 5-6 now. I believe this is related to lower usage. Towards the end of the business day our usage tapers off significantly, but we only do ~300 Mbs at peak anyways.
  • ISP uses captive portal

    4
    0 Votes
    4 Posts
    1k Views
    H
    that could be it too. captiveportal redirects tend to mess with dns … dnssec tries to prevent messing with dns ;)
  • TM Unifi with Pfsense

    4
    0 Votes
    4 Posts
    5k Views
    A
    note the element you need for configuration 1.vlan 500 2,pppoe thanks
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.