How to setup proxy (socks4, socks5, http) on openwrt?

proxy for who ? the router, or the clients ?