This will connect using Remote Access’s current settings. From the AppleScript Users List.
OS version: MacOS
tell application "Network Setup Scripting"
try
close database
end try
open database
set c to Remote Access configurations whose active = true
connect c's item 1
close database
end tell