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

Force curl command to use a specific gateway

Scheduled Pinned Locked Moved Routing and Multi WAN
2 Posts 2 Posters 3.3k 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.
  • M
    mclaborn
    last edited by Dec 5, 2018, 11:37 PM

    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 Dec 6, 2018, 1:20 PM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received