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

    FTP Client Proxy Restrictions

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 547 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.
    • T
      tacochowder13
      last edited by

      I'm using FTP Client Proxy, but I'm wondering how I can limit which hosts have access to use it.  Currently you can exclude, but not include.  If you exclude, the rules end up looking like this:

      no rdr on ix1 inet proto tcp from $workers to any port 21
      rdr pass on ix1 inet proto tcp from any to any port 21 -> 127.0.0.1 port 8021
      

      I need to restrict my entire DC except a few hosts from being able to FTP, so I'd have to maintain an alias with everything that's not allowed?  That seems backwards.  Why can't the rule be more like:

      rdr pass on ix1 inet proto tcp from $permitted_ftp_hosts to any port 21 -> 127.0.0.1 port 8021
      

      Or maybe the ability to enter my own custom entry so I could do something like:

      rdr pass on ix1 inet proto tcp from { $ftp_clients $user_laptops } to any port 21 -> 127.0.0.1 port 8021
      
      

      Thoughts?

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