updated IP; drop/reject more invalid packages
made gateway IP configurable
made variables override able
output