interface.d 617 B

123456789101112131415161718
  1. Long: interface
  2. Arg: <name>
  3. Help: Use network INTERFACE (or address)
  4. See-also: dns-interface
  5. Category: connection
  6. Example: --interface eth0 $URL
  7. Added: 7.3
  8. ---
  9. Perform an operation using a specified interface. You can enter interface
  10. name, IP address or host name. An example could look like:
  11. curl --interface eth0:1 https://www.example.com/
  12. If this option is used several times, the last one will be used.
  13. On Linux it can be used to specify a VRF, but the binary needs to either
  14. have CAP_NET_RAW or to be run as root. More information about Linux VRF:
  15. https://www.kernel.org/doc/Documentation/networking/vrf.txt