→ Applies to: SynetoOS 4.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)
un sh
Step 3. Become Super User
sudo suRAS Commands
Check available options
config rasEXAMPLE OUTPUT
root@MBC-syneto-01-master:/root# config ras config ras appliance Manage RAS appliance config ras client Manage OpenVPN clients config ras server Manage OpenVPN server on RAS appliance root@MBC-syneto-01-master:/root# config ras client Usage: config-ras.py client [OPTIONS] COMMAND [ARGS]... Manage OpenVPN clients Options: --help Show this message and exit. Commands: add Add VPN service client config Load allowed destinations from stdin. delete Delete VPN service client export Show VPN service client configuration on <stdout>. google-auth-secret Load Google Authenticator secret contents from stdin. list List VPN service clients passwd Change client password. regenerate Regenerate VPN service client certificates show Show client(s) config
List RAS Users
config ras client listEXAMPLE OUTPUT
root@MBC-syneto-01-master:/root# config ras client list INFO: RAS clients: INFO: m.user1 (m.user1@abc.com) [] INFO: user2 (user2@abc.com) [] INFO: o.user3 (o.user3@abc.com) []
Delete RAS User (replace <username> with the name of the user to delete)
config ras client delete --name <username>EXAMPLE OUTPUT
root@MBC-syneto-01-master:/root# config ras client delete --name m.user1 INFO: Deleted client 'm.user1'. root@MBC-syneto-01-master:/root# config ras client list INFO: RAS clients: INFO: user2 (user2@abc.com) [] INFO: o.user3 (o.user3@abc.com) []
Reset RAS User password (replace <username> with the name of the user)
config ras client passwd --name <username>EXAMPLE OUTPUT
root@MBC-syneto-01-master:/root# config ras client passwd --name user2 New password: Retype new password: INFO: Password for client 'user2' changed.