Thank you Guys you are all great.
i will work with some of the scripting that i know how to do and post the results also.
Again THANK YOU!! :)
now from a window pc couldnt i just create a static key and with winscp ssh in to the ddwrt thing and place the static key in there under one of the permanet files. and then just run this command?
echo "dev tap
link-mtu 1492
remote public IP
resolv-retry infinite
ifconfig 192.168.1.0 255.255.255.252
client
–---BEGIN OpenVPN Static key V1-----
...INSERT YOUR OWN CONTENT HERE...
-----END OpenVPN Static key V1-----
" > /tmp/static.key
#ca /tmp/openvpn/ca.crt
#cert /tmp/openvpn/client.crt
#key /tmp/openvpn/client.key
#comp-lzo
persist-tun
persist-key
verb 3
cipher AES-256-CBC" > /tmp/openvpn/openvpn.conf
killall openvpn
openvpn --config /tmp/openvpn/openvpn.conf