2
0

interface.d 607 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. ---
  8. Perform an operation using a specified interface. You can enter interface
  9. name, IP address or host name. An example could look like:
  10. curl --interface eth0:1 https://www.example.com/
  11. If this option is used several times, the last one will be used.
  12. On Linux it can be used to specify a VRF, but the binary needs to either
  13. have CAP_NET_RAW or to be run as root. More information about Linux VRF:
  14. https://www.kernel.org/doc/Documentation/networking/vrf.txt