Download file in outsea server
https://www.katacoda.com/
https://www.katacoda.com/courses/ubuntu/playground
1 | curl -O https://iterm2.com/downloads/stable/iTerm2-3_2_7.zip |
Make channel through local NAT or firewall
https://ngrok.com/
Expose local machine to internet1
ngrok http 80
Run a upload service
run a local server by python
1 | pip install bottle |
1 | #!/usr/bin/env python |
Upload file from remote to local
1 | man curl |
PS
use ngrok tcp mode may much simpler
install ngrok client in remote machine may channel through
https://bbs.csdn.net/topics/392190705
https://blog.csdn.net/u011884440/article/details/70504653?utm_source=blogxgwz6
https://blog.csdn.net/fungleo/article/details/80703365