10-29-2019, 05:32 PM
(10-29-2019, 04:10 PM)rudra Wrote: @AmirGT
i will refrain from elaborating for now and provide you with some good links instead. here goes,
https://jon.sprig.gs/blog/post/960
https://github.com/ARMmbed/hurricane-ele...Pv6-tunnel
dont forget to enable routing and forwarding
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
sysctl net.ipv4.ip_forward=1
it will work as tunnel endpoint and router. I think you will get a total speed of around max 8MBps or so, from the normal hashing and usb throughput rates on pi4.
you have one ethernet on it, so it is either another over isb or wifi sharing.
That is why i think a vm so configured is more to my liking. though more power consumption probably.
Seems bad idea because SIM providers here don't provide fixed IP, also I couldn't find any results about mbed border router in local stores here. Any other idea?