(1) Linux box (Arch linux to be precise, but that doesn't really matter)
(2) Ethernet connection on it (say, eth0)
(3) Socks proxy on a remote site (say, remote :port), which can be accessed through (2)
(4) Wireless card on local linux box (say, eth1)
So, the task is: create a wireless access point using (4) on local site (1) in such a way that all connections from it will go through proxy (3). E.g., when one simply connects to that AP (well, there should be DHCP or something for that) and goes to serverfault.com, all the traffic goes through that SOCKS proxy.
I'm just asking for the digging direction and some references, not step-by-step tutorial.
Thanks in advance