3 ms·
cat $FILE | nc -l -p 80
by vacri 11y ago
cat $FILE | nc -l -p 80
- digi_owl 11y agofirewalls?
- lisivka 11y agoipv6
- vacri 11y agoThe limitation of this method is that you do need your own port exposed to the internet. The advantage of this method is that you don't have to trust a third party. For the explicit example above, your guest's firewall would have to be pretty brutal to not allow port 80 through.
- digi_owl 11y agoYeah it was mostly the senders firewall (or the NAT you find on most consumer routers) that i had in mind. The OS may also balk at opening such a low port as a user, now that i think about it.