• New Installation, no Apparent DHCP on the LAN Interface

    Moved
    10
    0 Votes
    10 Posts
    1k Views
    G

    @johnpoz,
    I guess I may have screwed something up during the initial installation. I just did a complete reinstall from scratch and now both interfaces are coming up correctly.
    Thanks for your help.

  • 2.7.0 WAN loses IP4 address after a few seconds

    6
    0 Votes
    6 Posts
    383 Views
    stephenw10S

    OK, I agree looks like a problem with the two dhcpv6 clients. That should be easy enough to test at least. Remove one or both of those see if it stays up.

  • Enter full pathname of shell or RETURN for /bin/sh:

    2
    0 Votes
    2 Posts
    1k Views
  • 0 Votes
    14 Posts
    2k Views
    stephenw10S

    Hmm, odd. I wouldn't expect that. I have openvpn tunnels that have been up without issue for weeks.

  • No users listed at the "all" users group

    5
    0 Votes
    5 Posts
    520 Views
    W

    @johnpoz Yep, right... forgot that.

  • Support for API based email delivery

    4
    0 Votes
    4 Posts
    593 Views
    W

    @stephenw10

    OK, I found a way to send emails from pfSense via SendGrid, using the current pfSense configuration (version 2.7.0)

    (SendGrid, as noted above, has a free plan that enables you to send 100 email per day, via its service, for free, which should be, I think, more than enough to get email notifications from your pfSense device).

    The delivery is done via SendGrid's SMTP server, but the security advantaged of services like SendGrid is kept – as the actual delivery does not include the IP address of the sending pfSense device (like when sending via web API); but it DOES INCLUDE the name of the pfSense device, like pfsense.home.arpa, so notice to change the device's name if you wish to avoid identification by the recipients of the notification emails.
    You can change the device name at System > General Setup.

    First, some preparations at SendGrid:

    Create a SendGrid user account at https://signup.SendGrid.com/; or login if you already have an account there - https://app.SendGrid.com/login/ Create an API key, how to - https://docs.SendGrid.com/ui/account-and-settings/api-keys
    2.1. It is better, for both security reasons and for operational reasons – to have a unique API key for pfSense, even for each pfSense device
    2.2. Grant the API key the minimal permissions needed to send email – Settings > API Keys. For "API Key Permissions" select "Restricted Access". For "Access Details" open the "Mail Send" section and only enable "Mail Send". Save the change.
    2.3. Save the API key value at your records offline, you will need to use it as the SendGrid account "password" at pfSense. Once the API key is generated and saved, you will not be able to see the key's value! If you enabled " IP Access Management" (limit delivery only from allowed IP address(es)), then Go to Settings > IP Access Management. Add the IP address of the pfSense device, the IP that is facing the Internet and will be the one to communicate with the SendGrid email server

    Generally follow the instructions on the following post by SendGrid, "Integrating with the SMTP API" (although I think it is better to use port 465, as it uses a more secure method than the one of port 587)
    https://docs.SendGrid.com/for-developers/sending-email/integrating-with-the-smtp-api

    DO NOT do what is written in the following post, titled "How to Send an SMTP Email", it is for sending via SendGrid emails using Telnet to SendGrid's SMTP server, which needs the input to be formatted as Base64.
    Base64 format will NOT be accepted by SendGrid when sending emails via pfSense, and you will get an error message like
    "
    Could not send the message to <email address> -- Error: PLAIN authentication failure [SMTP: Invalid response code received from server (code: 535, response: Authentication failed: Bad username / password)]
    "
    https://docs.SendGrid.com/for-developers/sending-email/getting-started-smtp

    At pfSense:

    Go to System > Advanced > Notifications Of course Uncheck "Disable SMTP" Add to "E-Mail server" the value of smtp.SendGrid.net For "SMTP Port of E-Mail server" I used 465 (SMTP with TLS, most secure) (Connection timeout to E-Mail server – whatever you wish) Secure SMTP Connection – Enable-Checked Validate SSL/TLS – Enabled-Checked (From e-mail address – whatever you wish) (Notification E-Mail address – whatever you wish) Notification E-Mail auth username (optional) – this is NOT optional; you have to insert here exactly the system word of "apikey" (without the quotations). This tells SendGrid that you are not authenticating as a specific regular user, but as an API key Notification E-Mail auth password – insert here the exact relevant API key value that you recorded when your created it. It is acting as your "password" Notification E-Mail auth mechanism – Select the fixed value of "PLAIN" Scroll down to the bottom of the page and click "Save" Once the page reloaded – Click the "Test SMTP Settings" button to see if you receive a test email to the target email address

    If you get a warning about network issues, like "Error: Failed to connect to ssl://smtp.SendGrid.net:465 [SMTP: Failed to connect socket: Operation timed out (code: -1, response: )]":

    Test the general ability to reach the target server at the target port, using pfSense's port test at Diagnostics > Test Port If the above port test also fails (but generally you have network admin access to pfSense from the Internet, or even pfSense can perform a check to see if it has a new version (at Status > Dashboard > System Information widget > Versions section > click the arrows circle icon)), I suggest approaching the support of the ISP/Cloud host firm. Many of these firms block by default access to SMTP ports on the Internet, to prevent spam delivery from their systems by their customers

    Notice that you do not need to create any Firewall rule for the notification emails to communicate with the target SMTP server, it will be allowed internally by pfSense, based you the notifications configuration you enabled and adjusted.

    Good luck!

  • ssh connection that close after login

    3
    0 Votes
    3 Posts
    160 Views
    E

    Thanks!!!

    That explain other things I did not understand ;-)
    I also try to stop some traffic between other device in the same VLAN (and of course it does not works)!

    So only explaination is on the Raspberry... (Or maybe on the Wifi access point that is definitively between the computer A and the Raspberry ;-)

  • Uncaught DivisionByZeroError

    4
    0 Votes
    4 Posts
    577 Views
    D

    @stephenw10

    Ah nice one thanks.

    Good to learn how to apply these custom patches too.

    Seems stable now.

  • Disk resize

    10
    0 Votes
    10 Posts
    1k Views
    W

    @stephenw10
    I will be able to live with the missing space, I only like things to be tidy and efficient and it looks like a kind of storage glitch and waste here. I hope someone at Netgate will have a look into this.

    Anyway, thank you for discussing this with me, I will not waste your time anymore on this.

  • WyzeCam and Pfsense

    78
    0 Votes
    78 Posts
    13k Views
    stephenw10S

    @nullcure said in WyzeCam and Pfsense:

    so it don't have to go to wyze servers just to see if it would work lol.

    "the cloud" 🙄

  • SG-1100 won’t lease addresses

    5
    0 Votes
    5 Posts
    879 Views
    R

    Thanks Steve. I opened a TAC case & they were able to help. As it turns out somehow under the DHCP server settings, under restrictions "all clients" got disabled.

    -Rick

  • This topic is deleted!

    0
    0 Votes
    0 Posts
    9 Views
    No one has replied
  • No Available Packages - 23.05

    2
    0 Votes
    2 Posts
    291 Views
    stephenw10S

    First try going to System > Update > Update Settings and re-saving the current branch. Then retest.

    Steve

  • Ways to block adult content on an SG1100

    4
    0 Votes
    4 Posts
    539 Views
    O

    @stephenw10 As ever, many thanks!

  • Is there an API to trigger pfsense reboot?

    7
    0 Votes
    7 Posts
    774 Views
    stephenw10S

    Yup this would be trivial via SSH and much more complex via any other method.

    Try to determine if you actually need to reboot though. It may be sufficient to just renew the DHCP lease or to logically DOWN/UP the WAN interface.

  • zabbix active checks not working

    4
    0 Votes
    4 Posts
    2k Views
    stephenw10S

    You'd have to use the sudo package to add commands to the Zabbix user to allow that if you need it. I don't think I've ever had to do that.

  • Cannot SSH login using public key

    15
    0 Votes
    15 Posts
    2k Views
    W

    @johnpoz Thanks.

    I went one step ahead an filed a feature request for the things I asked earlier.
    It is at https://redmine.pfsense.org/issues/14899

  • First post.... Lan/some Vlans cant get to website, some vlans can

    24
    0 Votes
    24 Posts
    2k Views
    bmeeksB

    Your problem as described in your previous post is not a pfSense issue. It is something on your web server setup. Your domain.net I assume resolves to a single IP. The URLs have the domain name in them, but then also include a web path that only the web server (or a web proxy) can read and understand. DNS and pfSense stop at the end of net in your example. The trailing slash and everything after that is the responsibility of the web host the URL is directed towards.

  • First post, Pfsense+ Upgrade first time

    4
    0 Votes
    4 Posts
    413 Views
    stephenw10S

    No the recovery image will take you to 23.05.1. You can then restore your config into that and be back up on the current version.

    Steve

  • 0 Votes
    7 Posts
    1k Views
    NollipfSenseN

    @charry2014 said in pfSense 2.7.0 in a ProxMox VM not getting IP address from Deutsche Glasfaser:

    IPv6 gateway shows connected and online but there is no DNS for internet

    If you setup IPv6 correctly and there is no DNS, maybe you're suffering as I am discovering ISP gave static IPv6 that doesn't allow LAN to communicate with upstream DVCPv6 server. Please call your ISP.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.