What you're describing isn't a proxy server, it's a router. It would require policy routing to do what you describe, which isn't possible in m0n0wall. pfsense (
http://pfsense.org), an offshoot of m0n0wall, does have policy routing so you might want to check it out.