I assume you want Mozilla to autodetect your proxy settings? I’ve never done that with Mozilla, but you should be able to do it. Auto-detect is not enabled by default so you need to go to tools>options and under Advanced choose the Network tab. There is a box for Connection, click settings and choose “Auto-detect proxy settings for this network”.
That should be all you have to do.