From 766576abee836ee82c7573ee95365fd4ae3a9913 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Tue, 3 Jun 2025 16:51:49 -0400 Subject: [PATCH] Add debug-pac-fonfig.md --- networking/debug-pac-config.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 networking/debug-pac-config.md diff --git a/networking/debug-pac-config.md b/networking/debug-pac-config.md new file mode 100644 index 0000000..db8be67 --- /dev/null +++ b/networking/debug-pac-config.md @@ -0,0 +1,13 @@ +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 + ```