3 ms·
Setup a TUN/TAP device, which is a file one can read (egress packets) / write to (ingress packets). Setup appropriate ip routes. Read (egress) packets from the
by ignoramous 3y ago
Setup a TUN/TAP device, which is a file one can read (egress packets) / write to (ingress packets). Setup appropriate ip routes.
Read (egress) packets from the TUN/TAP device.
Serialize them, assign sequence numbers, and upload them to S3.
On the recieve side, poll for newer objects (packets) in S3.
Write them to your TUN/TAP device.
---
Here, the TUN device is a router using S3 as gateway.