14 lines
423 B
Markdown
14 lines
423 B
Markdown
1. Get `pac` file from url
|
|
```
|
|
$ curl http://proxyconf.glb.nokia.com/proxy.pac > proxy.pac
|
|
```
|
|
2. Determine proxy for url
|
|
```
|
|
$ pactester -p proxy.pac -u http://example.com
|
|
PROXY usfraaa-proxy.americas.nsn-net.net:8080; PROXY usfraaa-proxy.americas.nsn-net.net:8080;
|
|
```
|
|
3. Use curl to test access to url
|
|
```
|
|
$ curl -x usfraaa-proxy.americas.nsn-net.net:8080 http://example.com
|
|
```
|