Update README.md, use https protocol in IP inspect service examples

Remove whatismyip.akamai.com as it doesn't have proper certificate for
the domain:

```
$ curl --socks5-hostname 127.0.0.1:9150 https://whatismyip.akamai.com
curl: (51) SSL: no alternative certificate subject name matches target host name 'whatismyip.akamai.com'
```
This commit is contained in:
Peter Dave Hello 2019-10-28 10:58:00 +08:00
parent 62ec8d04b5
commit 38c7db1b0e

View file

@ -50,10 +50,9 @@ The super easy way to setup a [Tor](https://www.torproject.org) [SOCKS5](https:/
Take `curl` as an example, checkout what's your IP address via Tor network:
```sh
$ curl --socks5-hostname 127.0.0.1:9150 ipinfo.io/ip
$ curl --socks5-hostname 127.0.0.1:9150 icanhazip.com
$ curl --socks5-hostname 127.0.0.1:9150 ipecho.net/plain
$ curl --socks5-hostname 127.0.0.1:9150 whatismyip.akamai.com
$ curl --socks5-hostname 127.0.0.1:9150 https://ipinfo.io/ip
$ curl --socks5-hostname 127.0.0.1:9150 https://icanhazip.com
$ curl --socks5-hostname 127.0.0.1:9150 https://ipecho.net/plain
```
Take `ssh` and `nc` as an example, connect to a host via Tor: