Use a temporary file name
Validate that the string looks like we expect it to
Split validation out into it's own function so it can be reused
Add validation inside the /init process
Work out what the default gateway (i.e. the host) is, use that to forward to