• 0 Votes
    1 Posts
    4k Views
    No one has replied
  • RFC 2136 bug

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • TinyDNS bulk import?

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    I

    So gave up on finding a good script, (probably none exist since the XML is pfSense specific), and since I don't have time to write one myself just did bulk edits via spreadsheet, text editor and XML editor then pasted into /conf/config.xml.  Nothing blew up, seems to be fine.  Maybe put this in as a feature request?

  • Disabling NetBIOS over TCP/IP on Windows Clients via DHCP

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Howto: setup Dynamic DNS with Loopia.se and freedns.afraid.org

    Locked
    9
    0 Votes
    9 Posts
    15k Views
    S

    Wanted to thank you for posting these instructions.  I modified them and got DNS Made Easy working.  For anyone who is trying to do this, here's what I did.  Keep in mind, this is my first try, so I'm sure there is a better way.

    First, edit /usr/local/www/services_dyndns.php

    Add the entries in bold below.

    $types = explode(",", "DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,Loopia,freeDNS, DNS Made Easy");
    $vals = explode(" ", "dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns dnsmadeeasy");

    Next, edit /etc/inc/dyndns.class and add some entries (bolded)

    if ($this->_dnsService == 'dyndns' ||
    $this->_dnsService == 'dyndns-static' ||
    $this->_dnsService == 'dyndns-custom' ||
    $this->_dnsService == 'dhs' ||
    $this->_dnsService == 'noip' ||
    $this->_dnsService == 'easydns' ||
    $this->_dnsService == 'hn' ||
    $this->_dnsService == 'zoneedit' ||
    $this->_dnsService == 'dyns' ||
    $this->_dnsService == 'ods' ||
    $this->_dnsService == 'freedns' ||
    $this->_dnsService == 'loopia' ||
    $this->_dnsService == 'dnsmadeeasy' ||
    $this->_dnsService == 'staticcling')

    Also make this change (same file).  I inserted it under the loopia entry.

    case 'loopia':
    $needsIP = TRUE;
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
    curl_setopt($ch, CURLOPT_URL, 'https://dns.loopia.se/XDynDNSServer/XDynDNS.php?hostname='.$this->_dnsHost.'&myip='.$this->_dnsIP);
    $data = curl_exec($ch);
    if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch));
    curl_close($ch);
    $this->_checkStatus($data);
    break;
                     
    **                                    case 'dnsmadeeasy':
                                            $needsIP = TRUE;
                                            $server = "https://www.dnsmadeeasy.com/servlet/updateip?";
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
                                            curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
    curl_setopt($ch, CURLOPT_URL, $server.'username='.$this->_dnsUser.'&password='.$this->_dnsPass.'&id='.$this->_dnsHost.'&ip='.$this->_dnsIP);
                                            $data = curl_exec($ch);
                                            if (@curl_error($ch)) log_error("Curl error occurred: " . curl_error($ch));
                                            curl_close($ch);
                                            $this->_checkStatus($data);
                                            break;**

    And this change (same file).  I put it under loopia again

    case 'loopia':
    if (preg_match("/nochg/i", $data)) {
    $status = "phpDynDNS: (Success) No Change In IP Address";
    $successful_update = true;
    } else if (preg_match("/good/i", $data)) {
    $status = "phpDynDNS: (Success) IP Address Changed Successfully!";
    $successful_update = true;
    } else if (preg_match('/badauth/i', $data)) {
    $status = "phpDynDNS: (Error) User Authorization Failed";
    } else {
    $status = "phpDynDNS: (Unknown Response)";
    log_error("phpDynDNS: PAYLOAD: {$data}");
    $this->_debug($data);
    }
    break;
    case 'dnsmadeeasy':
                                            if (preg_match("/nochg/i", $data)) {
                                                    $status = "phpDynDNS: (Success) No Change In IP Address";
                                                    $successful_update = true;
                                            } else if (preg_match("/good/i", $data)) {
                                                    $status = "phpDynDNS: (Success) IP Address Changed Successfully!";
                                                    $successful_update = true;
                                            } else if (preg_match('/badauth/i', $data)) {
                                                    $status = "phpDynDNS: (Error) User Authorization Failed";
                                            } else {
                                                    $status = "phpDynDNS: (Unknown Response)";
                                                    log_error("phpDynDNS: PAYLOAD: {$data}");
                                                    $this->_debug($data);
                                            }
                                            break;

    Reload the web configurator and DNS Made Easy will now be listed.  In the hostname, put your Record ID in the HostName field for the particular record you want updated.  Mine is a 7 digit number, so I suspect that is the standard for them.

    Put in your username and password in the corresponding fields and you should be good.

  • DHCP leases question (deleting a dhcp lease manually)

    Locked
    12
    1 Votes
    12 Posts
    109k Views
    E

    @pfman:

    I had same problem ….. pfSense DHCP remembers all leased IPs and won't releases them even though 1 machine have several leases .
    I changed the IP range, save it then put the old IP range back, save it again. That resolves my problem till next time  the DHCP runs out of IP again.

    Do i understand this correctly, if many PC have several leases and every ip is used there will be no more leases until i do whats described here.

  • How to turn off DHCP on wan

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    GruensFroeschliG

    Interfaces –> WAN --> "General configuration" --> "Type"

    DHCP.png
    DHCP.png_thumb

  • DHCP Relay across IPSEC VPN

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    J

    I've done this with dedicated lines and 3Com equipment, all you need to do is establish a second dhcp subnet on the windows box and everything works fine.  I can't get it to work with pfSense and an IPSEC VPN though.

    The DHCP registers that a lease on 192.168.2.x has been given out but that data never makes back to the client and the lease is never confirmed.

  • LAN +opt DHCP, always get ip from opt

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    J

    yes, that is correct, both nic to same switch …

    is it possible to rise priority of LAN, and if there is no mac address in list of hosts, than (client, printer ...) computer gets ip from opt ?

  • System log shows multiple dhclient 'bogus' messages

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • DHCP server and interface LAN, Opt1 (DMZ) and Opt2 (Guest)

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    jahonixJ

    Read this thread. Same problem with reversed interfaces.
    http://forum.pfsense.org/index.php/topic,13901.0.html

  • DHCP Leases not de-activating

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • DynDNS with Custom Server

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    E

    hmmm … I'm not really familar with bsd and php and so on, so i understand the half from this tread, but i'm impossible to integrate it by myself.

    May be there is a configuration file or something, where the DynDNS providers showed on the WebGUI are listed in, which i can edit? That would be a much mor easier way for me to change the things and would be much more charming ...

  • Transparent routing

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    B

    True my friend I've se it like that and is working THANK YOU VERY MUCH for oyur help

  • DNS Not Resolving

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    L

    ok, solved this problem, what I did was disabled DNS forwarder, then set the DHCP to serve 192.168.1.1 as the DHCP server (which is the enthernet DSL modem on WAN), and works fine.

    CARP is working fine, but in reserve. The WAN interface is correct, 10.0.0.11 master 10.0.0.12, but LAN and PUBLIC is the reverse. It works fine, I shut down 10.0.0.12 internet works, its just wrong way round.

    All 10.0.0.11 advertisers set as 0, 10.0.0.12 set as 100

  • DHCP relay : multipe DHCP servers ?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C

    Probably easiest to disable and run manually, check dhcrelay man page for specifics.

  • Bogus-nxdomain

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    dotdashD

    You could start a bounty. If you want to do it yourself, it looks like you'd have to add -B=ip address option added to the args passes from services.inc.

  • DNS forwarder is working but my pfsense is not behaving normally

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    P

    For me it's sound like you somehow have messed up your configuration or are having a hardware problem.
    upgrade to 1.2.3 http://blog.pfsense.org/?p=377
    http://snapshots.pfsense.org/FreeBSD7/RELENG_1_2/

    But in the end I would bet that reinstall will be a better approach.

    Might help http://pfsense.site88.net/multiwan.html

  • CARP & DHCP relay : dhcrelay started on both nodes ?

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    M

    @cmb:

    Yeah it should only run on the master. It does work running on both, though it really shouldn't.  bug ticket open on it.
    http://cvstrac.pfsense.org/tktview?tn=1883

    Thanks ! :)

  • RFC 2136

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.