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

    Firewall Aliases updated via ftp

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 3 Posters 584 Views
    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.
    • A
      ASGR71
      last edited by ASGR71

      Hey Guys,

      Before I get carried away installing vsftpd...

      I'd like to create lists of firewall aliases that are periodically updated on a local server.
      Is it possible to load files into Firewall-> Aliases through ftp using the URL option?

      Thanks.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @ASGR71
        last edited by johnpoz

        @asgr71 said in Firewall Aliases:

        Aliases through ftp using the URL option?

        you mean like ftp:\fqdn_or_ip\listofips.txt

        vs http(s):\fqdn_or_ip\listofips.txt

        edit: doesn't look like that would work, putting in a ftp:\url gives this error when trying to add the alias

        A valid URL or alias must be provided. Could not fetch usable data from 'ftp:\192.168.9.10\list.txt'.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        A 1 Reply Last reply Reply Quote 0
        • A
          ASGR71 @johnpoz
          last edited by ASGR71

          @johnpoz That looks about right... with possible user/password...

          additional: so http[s]?

          johnpozJ S 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @ASGR71
            last edited by johnpoz

            @asgr71 I don't think it will work.. why not just host the file locally on pfsense that you can load, or via http/https? See my edit, I fired up ftp that does anonymous and put up a list.txt with some IPs in that I can load with my ftp client.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @ASGR71
              last edited by

              @asgr71 You can create a URL Alias. Not sure about sending credentials in the URL but it doesn't hurt to try.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.