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

    [SOLVED] SSH/SCP Queuing ?

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 1 Posters 1.7k 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.
    • N
      Nixy82
      last edited by

      Hi

      I'm having trouble getting SSH traffic to go into the othersHigh and SCP traffic going into p2p queues (both using PRI queues)

      I've been looking at the pages below, but neither of these methods work and the traffic just ends up in the default queue

      Has anyone successfully got this working that can share how they did it?

      http://www.openbsd.org/faq/pf/queueing.html

      http://www.quora.com/How-can-I-identify-interactive-SSH-but-not-SCP-packets
      http://forum.pfsense.org/index.php?topic=36569.0
      http://www.rhyshaden.com/qos.htm

      1 Reply Last reply Reply Quote 0
      • N
        Nixy82
        last edited by

        Just an update, go this working by moving the rule to the LAN tab

        used the ack queue for SSH interactive and used the main queue for SCP

        
        $ cat /tmp/rules.debug
        
         <snip>pass  in  quick  on $LAN  proto { tcp udp }  from any to any port 22  keep state  queue (qP2P,qOthersHigh)  dnpipe ( 4, 3)  label "USER_RULE: Prioritise SSH not SCP traffic"</snip> 
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.