| tenant-type | | slug | socket5-proxy-login-obclient |
OBClient supports connections through a socket5 proxy, which is suitable for scenarios where you need to access the database via a proxy server.
Procedure
Method 1: Normal connection
obclient -h100.88.109.130 -P38884 -utest@oracle -Dtest -ptest
Method 2: Connect through a socket5 proxy
- Enable the proxy channel via SSH:
ssh -NCfg -D 1080 root@127.0.0.1
- Connect using the socket5 proxy:
obclient -h100.88.109.130 -P38884 -utest@oracle -Dtest -ptest --socket5_proxy=127.0.0.1,1080
The --socket5_proxy parameter is in the host,port format, specifying the address and port of the socket5 proxy server.
