add a configuration file, fix a bug convert the dst ip to network order,or it won't forward msg to the right address