forked from genotrance/px
-
Notifications
You must be signed in to change notification settings - Fork 0
/
px.ini
72 lines (56 loc) · 2.41 KB
/
px.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[proxy]
; NTLM server(s) to connect through. IP:port, hostname:port
; Multiple proxies can be specified comma separated. Px will iterate through
; and use the one that works. Required field unless --noproxy is defined. If
; remote server is not in noproxy list and proxy is undefined, Px will reject
; the request
server = SCDCA0000299.CN.SVC.CORPINTRA.NET:3128
; IP interface to listen on - default: 127.0.0.1
listen = 127.0.0.1
; Port to run this proxy on - default: 3128
port = 3128
; Allow remote machines to use this proxy
; Overrides listen definition above and binds to all interfaces
gateway = 0
; Allow only local interfaces to use proxy. 0 or 1, default: 0
; Px allows all IP addresses assigned to local interfaces to use the service.
; This allows local apps as well as VM or container apps to use Px when in a
; NAT config. Px does this by listening on all interfaces and overriding the
; allow list.
hostonly = 0
; Allow connection from following subnets, comma separated - default: *.*.*.*
; Whitelist which IPs can use the proxy. --hostonly overrides any definitions
; unless --gateway mode is also specified
; 127.0.0.1 - specific ip
; 192.168.0.* - wildcards
; 192.168.0.1-192.168.0.255 - ranges
; 192.168.0.1/24 - CIDR
allow = *.*.*.*
; Direct connect to following subnets, comma separated
; Skip the NTLM proxy and connect directly like a regular proxy
; 192.168.0.* - wildcards
; 192.168.0.1-192.168.0.255 - ranges
; 192.168.0.1/24 - CIDR
noproxy = 127.0.0.1
; Override or send User-Agent header on client's behalf
useragent =
[settings]
; Number of parallel workers (processes)
workers = 4
; Number of parallel threads per worker (process)
threads = 1
; Idle timeout in seconds for HTTP connect sessions before closing the connection
idle = 30
; Timeout in seconds for connections before giving up
socktimeout = 5.0
; Time interval in seconds before refreshing proxy info. Valid int, default: 60
; Proxy info reloaded from a PAC file found via WPAD or AutoConfig URL, or
; manual proxy info defined in Internet Options
proxyreload = 60
; Run in foreground when frozen or with pythonw.exe. 0 or 1, default: 0
; Px will attach to the console and write to it even though the prompt is
; available for further commands. CTRL-C in the console will exit Px
foreground = 0
; Enable logging
; Logs are written to the same directory that Px is run and are over-written on startup
log = 0