Take a look at vpnkit and core-network for some neater ways to do this
Take a look at vpnkit and core-network for some neater ways to do this