3 ms·
You can do that with netcat if either A or B are listening.
by Retr0spectrum 11y ago
You can do that with netcat if either A or B are listening.
- Symbiote 11y agoI do this fairly regularly. A$ tar cv * | nc -l -p 1234 B$ nc a.example.net 1234 | tar xv Or I might remove a 'v' and pipe through 'pv' to see the transfer rate and amount.
- oxplot 11y agoWell over the "Internet" kind of implies behind a firewall so the service would be a convenience to avoid setting up port forwarding etc.
- lolidaisuki 11y agoVPN are a thing. I recommend just installing cjdns and forwarding the home end. It also encrypts your traffic. You wouldn't want to netcat in cleartext over the internet.
- voltagex_ 11y agoYou could always just pipe it through ssh or some other thing. Setting up openvpn or similar is nontrivial - even if you're lucky enough to have a static IP and enough spare time to make it work.
- lolidaisuki 11y ago> Setting up openvpn or similar is nontrivial Setting up cjdns is less work than setting up SSH.