Dock shortcut for an interactive bash script
Alright, I think I found the answer:

tell application "Terminal"
    do script "sudo /usr/local/bin/openconnect --user={user} {host}"
    activate
end tell