Make socks proxy active atomatically

Hi,
I'm using SSH Tunnel as a SSH VPN and set a dynamic proxy on port1080. Whenever I try to connect my VPN, Ineed to go and active socks proxy in my macbook settings. Is there any possibility to set this automatic?

regards