WmRoot serivice to add IP restrictions to a port

I am trying to create a service that will add a server to the IP allow list on a port (basically setting up IP restrictions on a given port). I tried tapping into the WmRoot services a bit but couldn’t get it to work correctly. Anyone have a solution? Tried utilizing the DSP to no avail.

Got it…using the netimpl.class file, and not the wmroot service directly.

Brian,

Would you share a code snippet with the useful bits?

Mark