==Setting up the edge device==
The first thing to do is was to rebuild the Linux kernel after adding the missing options—if any—required by GGC, which are detailed [https://docs.aws.amazon.com/en_us/greengrass/latest/developerguide/what-is-gg.html#gg-platforms here].
Once the device was up and running with the fresh Linux kernel, to enable IP routing to the Internet, the default gateway was setup like this: