curl ipv6

curl with ipv6 sample code:

# interface 'eth0' is the interface with ipv6 enabled
curl -g -6 'http://[fe80::3ad1:35ff:fe08:cd%eth0]:80/'
curl -g -6 'http://[fe80::3ad1:35ff:fe08:cd]'

# https without ssl validate
curl -g -k -6 'https://[fe80::3ad1:35ff:fe08:cd]'
Related Articles