evergreen-user:configuring_a_proxy_for_the_staff_client
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| evergreen-user:configuring_a_proxy_for_the_staff_client [2009/12/08 09:46] – created sylvar | evergreen-user:configuring_a_proxy_for_the_staff_client [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| For other client operating systems, [[http:// | For other client operating systems, [[http:// | ||
| - | ====== How to Configure the Evergreen Staff Client to Use the SSH Tunnel ====== | + | ====== How to Configure the Evergreen Staff Client to Use the SSH Tunnel |
| + | |||
| + | In order to tell the Evergreen Staff Client that all traffic should be sent through the SSH tunnel you just configured you have three options. | ||
| + | |||
| + | ===== Log in without proxy, configure with about: | ||
| + | |||
| + | If you can log in without the proxy temporarily, | ||
| + | |||
| + | * network.proxy.type - Set to 1 (default is system, which bypasses the other configurations) | ||
| + | * network.proxy.socks - Set to localhost | ||
| + | * network.proxy.socks_port - Set to 9999 | ||
| + | |||
| + | Restart the client and you should be using the proxy. | ||
| + | |||
| + | ===== Edit prefs.js ===== | ||
| + | |||
| + | If you need the proxy to log in you can edit your local preferences. This is per-user. You will need to run the staff client at least once first. | ||
| + | |||
| + | In your profile folder you should have an AppData or Application Data folder, possibly with a Roaming folder. Inside of that should be a folder like this: | ||
| + | |||
| + | OpenILS\open_ils_staff_client\Profiles\bf8bsk0o.default | ||
| + | |||
| + | The last component will vary. Edit the prefs.js file to add the following lines, probably at the end of the file: | ||
| + | |||
| + | < | ||
| + | pref(" | ||
| + | pref(" | ||
| + | pref(" | ||
| + | </ | ||
| + | |||
| + | ===== Create a proxy.js defaults file ===== | ||
| + | |||
| + | If you want a system-wide proxy, regardless of user, you can change the Evergreen defaults. Create a new file named proxy.js in the " | ||
| + | |||
| + | <file js proxy.js> | ||
| + | // Proxy configuration | ||
| + | |||
| + | pref(" | ||
| + | pref(" | ||
| + | pref(" | ||
| + | </ | ||
| + | |||
| + | Start and/or restart your client and it should be using the proxy. | ||
| + | |||
| + | ====== How to Configure the Evergreen Staff Client to Use the SSH Tunnel - DANGEROUS METHOD ====== | ||
| + | |||
| + | < | ||
| + | <p style=" | ||
| + | </ | ||
| In order to tell the Evergreen Staff Client that all traffic should be sent through the SSH tunnel you just configured, edit the **'' | In order to tell the Evergreen Staff Client that all traffic should be sent through the SSH tunnel you just configured, edit the **'' | ||
evergreen-user/configuring_a_proxy_for_the_staff_client.1260283572.txt.gz · Last modified: 2022/02/10 13:33 (external edit)