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

    Force curl command to use a specific gateway

    Routing and Multi WAN
    2
    2
    3.3k
    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.
    • mclabornM
      mclaborn
      last edited by

      From the pfSense command line, is there a way to force the curl command to use a specific gateway?

      Mitch

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        no gateway option, you can use the 'interface' option on either wan & it'll bypass policy routing if you don't use any wacky floating rules

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