Following your idea, more things have to do.you have to set DNS. Connection is from modem's lan port to router's wan port.