Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Multi-WAN very slow and often fails to respond to HTTP requests

    Routing and Multi WAN
    2
    4
    1712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      garg_art2002 last edited by

      Folks:

      I have a multiwan set up with traffic shaper wizard implemented for a VOIP device. The number of WAN links are four [ (1) Airtel DSL, (2) BSNL DSL, (3) DHCP to a router with a 3G stick, and (4) PPP on another 3G Stick).

      The crazy set up is because we desire for a uninterrupted Internet and DSL in India is very temperamental.

      My problem is that our Internet still stops to work sporadically. To see what is going on, when I try to go to Webconfigurator, that also times out. We then go to SSH and use 11 to restart webconfigurator.

      As soon as that is done automagically the PFSENSE web interface comes alive.  And so does the internet access from any of the laptops.

      I am using Pfsense 2.02, and any pointers would be helpful.

      Best
      Anil

      1 Reply Last reply Reply Quote 0
      • C
        cmb last edited by

        what packages do you have installed? Something is hanging PHP, though that almost never impacts traffic through the system or anything but the web interface, certain packages could be impacted.

        1 Reply Last reply Reply Quote 0
        • G
          garg_art2002 last edited by

          Hi Chris:
          The dashboard picture is attached. The only thing I have installed is CUPS.

          
          at ssh shell:
          setenv PACKAGESITE http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/Latest/
          pkg_add -rv cups
          
          create a file /etc/devfs.rules and add the following information 
          
          [system=10]
            add path 'unlpt*' mode 0660 group cups
            add path 'ulpt*' mode 0660 group cups
            add path 'lpt*' mode 0660 group cups
          
          Create a file /etc/rc.conf with following entries:
          
            cupsd_enable="YES"
            devfs_system_ruleset="system"  
          
          Edit /etc/group
          
          The last line changed:
          cups:*:193:
          
          change that to 
          cups:*:193:root,admin
          
          Replace the config file (/usr/local/etc/cups/cupsd.conf) with following entries:
          
          DefaultEncryption Never
          LogLevel warn
          SystemGroup wheel
          # Allow remote access
          Port 631
          Listen /var/run/cups.sock
          # Enable printer sharing and shared printers.
          Browsing On
          BrowseOrder allow,deny
          BrowseAllow all
          BrowseRemoteProtocols CUPS
          BrowseAddress @LOCAL
          BrowseLocalProtocols CUPS
          DefaultAuthType Basic
           <location># Allow shared printing and remote administration...
            Order allow,deny
            Allow @LOCAL</location> 
           <location admin=""># Allow remote administration...
            Order allow,deny
            Allow @LOCAL</location> 
           <location admin="" conf="">AuthType Default
            Require user @SYSTEM
            # Allow remote access to the configuration files...
            Order allow,deny
            Allow @LOCAL</location> 
           <policy default=""><limit send-document="" send-uri="" hold-job="" release-job="" restart-job="" purge-jobs="" set-job-attributes="" create-job-subscription="" renew-subscription="" cancel-subscription="" get-notifications="" reprocess-job="" cancel-current-job="" suspend-current-job="" resume-job="" cups-move-job="" cups-get-document="">Require user @OWNER @SYSTEM
              Order deny,allow</limit>
             <limit cups-add-modify-printer="" cups-delete-printer="" cups-add-modify-class="" cups-delete-class="" cups-set-default="" cups-get-devices="">AuthType Default
              Require user @SYSTEM
              Order deny,allow</limit>
             <limit pause-printer="" resume-printer="" enable-printer="" disable-printer="" pause-printer-after-current-job="" hold-new-jobs="" release-held-new-jobs="" deactivate-printer="" activate-printer="" restart-printer="" shutdown-printer="" startup-printer="" promote-job="" schedule-job-after="" cups-accept-jobs="" cups-reject-jobs="">AuthType Default
              Require user @SYSTEM
              Order deny,allow</limit>
             <limit cups-authenticate-job="">Require user @OWNER @SYSTEM
              Order deny,allow</limit>
             <limit all="">Order deny,allow</limit></policy> 
           <policy authenticated=""><limit create-job="" print-job="" print-uri="">AuthType Default
            Order deny,allow</limit> 
             <limit send-document="" send-uri="" hold-job="" release-job="" restart-job="" purge-jobs="" set-job-attributes="" create-job-subscription="" renew-subscription="" cancel-subscription="" get-notifications="" reprocess-job="" cancel-current-job="" suspend-current-job="" resume-job="" cups-move-job="" cups-get-document="">AuthType Default
          Require user @OWNER @SYSTEM
          Order deny,allow</limit>
             <limit cups-add-modify-printer="" cups-delete-printer="" cups-add-modify-class="" cups-delete-class="" cups-set-default="">AuthType Default
            Require user @SYSTEM
            Order deny,allow</limit>
             <limit pause-printer="" resume-printer="" enable-printer="" disable-printer="" pause-printer-after-current-job="" hold-new-jobs="" release-held-new-jobs="" deactivate-printer="" activate-printer="" restart-printer="" shutdown-printer="" startup-printer="" promote-job="" schedule-job-after="" cups-accept-jobs="" cups-reject-jobs="">AuthType Default
              Require user @SYSTEM
              Order deny,allow</limit>
             <limit cancel-job="" cups-authenticate-job="">AuthType Default
                Require user @OWNER @SYSTEM
                Order deny,allow</limit>
             <limit all="">Order deny,allow</limit></policy> 
          BrowseWebIF Yes
          
          CREATE a file called:  /usr/local/etc/rc.d/run_cups.sh with following entries:
          
          #!/bin/sh
          sleep 5
          /etc/rc.d/devfs restart
          sleep 5
          /usr/local/etc/rc.d/cupsd onestart
          
          Make the script executable: chmod 755 /usr/local/etc/rc.d/run_cups.sh
          
          Change this line in /etc/defaults/rc.conf :
          
                devfs_system_ruleset=""
          
             to:
          
                devfs_system_ruleset="system"
          
          Then used http://pfsense:631 to add a postscript USB printer and it works flawlessly
          
          

          @cmb:

          what packages do you have installed? Something is hanging PHP, though that almost never impacts traffic through the system or anything but the web interface, certain packages could be impacted.


          1 Reply Last reply Reply Quote 0
          • G
            garg_art2002 last edited by

            Settings are attached as PDF:

            https://dl.dropbox.com/u/379598/pf_settings.pdf

            1 Reply Last reply Reply Quote 0
            • First post
              Last post