• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 637 Views 3 Watching
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 Offline
    ASGR71
    last edited by ASGR71 Mar 21, 2023, 3:35 PM Mar 21, 2023, 3:33 PM

    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.

    J 1 Reply Last reply Mar 21, 2023, 3:36 PM Reply Quote 0
    • J Offline
      johnpoz LAYER 8 Global Moderator @ASGR71
      last edited by johnpoz Mar 21, 2023, 3:49 PM Mar 21, 2023, 3:36 PM

      @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 25.07.1 | Lab VMs 2.8.1, 25.07.1

      A 1 Reply Last reply Mar 21, 2023, 3:50 PM Reply Quote 0
      • A Offline
        ASGR71 @johnpoz
        last edited by ASGR71 Mar 21, 2023, 3:51 PM Mar 21, 2023, 3:50 PM

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

        additional: so http[s]?

        J S 2 Replies Last reply Mar 21, 2023, 3:51 PM Reply Quote 0
        • J Offline
          johnpoz LAYER 8 Global Moderator @ASGR71
          last edited by johnpoz Mar 21, 2023, 3:51 PM Mar 21, 2023, 3:51 PM

          @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 25.07.1 | Lab VMs 2.8.1, 25.07.1

          1 Reply Last reply Reply Quote 0
          • S Offline
            SteveITS Galactic Empire @ASGR71
            last edited by Mar 21, 2023, 4:34 PM

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

            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 reboot, or more depending on packages, CPU, and/or disk speed.
            Upvote 👍 helpful posts!

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received