Allow remote ip to be passed in from params