Skip to content

Instantly share code, notes, and snippets.

@gutenye
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gutenye/9410589 to your computer and use it in GitHub Desktop.
Save gutenye/9410589 to your computer and use it in GitHub Desktop.
wget both http and https website after/before stronvpn connection.
#
# without strongvpn, direct connect
#
/tmp ❯ wget http://www.engadget.com/
--2014-03-07 20:23:07-- http://www.engadget.com/
Resolving www.engadget.com (www.engadget.com)... 207.200.74.123
Connecting to www.engadget.com (www.engadget.com)|207.200.74.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
[ <=> ] 99,500 70.1KB/s in 1.4s
2014-03-07 20:23:09 (70.1 KB/s) - ‘index.html’ saved [99500]
/tmp ❯ wget https://www.google.com.hk
--2014-03-07 20:25:14-- https://www.google.com.hk/
Resolving www.google.com.hk (www.google.com.hk)... 74.125.128.199, 2404:6800:4005:c00::c7
Connecting to www.google.com.hk (www.google.com.hk)|74.125.128.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.5’
[ <=> ] 11,267 --.-K/s in 0.001s
2014-03-07 20:25:14 (7.60 MB/s) - ‘index.html.5’ saved [11267]
#
# with strongvpn
#
/tmp ❯ wget http://www.engadget.com/
--2014-03-07 20:26:09-- http://www.engadget.com/
Resolving www.engadget.com (www.engadget.com)... 207.200.74.123
Connecting to www.engadget.com (www.engadget.com)|207.200.74.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.6’
[ <=> ] 99,500 131KB/s in 0.7s
2014-03-07 20:26:10 (131 KB/s) - ‘index.html.6’ saved [99500]
/tmp ❯ wget https://www.google.com.hk
--2014-03-07 20:26:46-- https://www.google.com.hk/
Resolving www.google.com.hk (www.google.com.hk)... 74.125.239.55, 74.125.239.63, 74.125.239.56, ...
Connecting to www.google.com.hk (www.google.com.hk)|74.125.239.55|:443... connected.
Unable to establish SSL connection.
#
# as you can see, 80 port is fine, but 443 port is blocked somehow.
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment