質問編集履歴

2

追記

2020/04/21 12:45

投稿

Anon_
Anon_

スコア334

test CHANGED
File without changes
test CHANGED
@@ -9,3 +9,177 @@
9
9
 
10
10
 
11
11
  https://blog.ryskit.com/entry/2019/06/01/221836
12
+
13
+
14
+
15
+
16
+
17
+ 「追記」
18
+
19
+ squid.confの設定内容です。IPは伏せております。
20
+
21
+ ```ここに言語を入力
22
+
23
+ #
24
+
25
+ # Recommended minimum configuration:
26
+
27
+ #
28
+
29
+
30
+
31
+ # Example rule allowing access from your local networks.
32
+
33
+ # Adapt to list your (internal) IP networks from where browsing
34
+
35
+ # should be allowed
36
+
37
+ acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
38
+
39
+ acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
40
+
41
+ acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
42
+
43
+ acl localnet src fc00::/7 # RFC 4193 local private network range
44
+
45
+ acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
46
+
47
+
48
+
49
+ acl SSL_ports port 443
50
+
51
+ acl Safe_ports port 80 # http
52
+
53
+ acl Safe_ports port 21 # ftp
54
+
55
+ acl Safe_ports port 443 # https
56
+
57
+ acl Safe_ports port 70 # gopher
58
+
59
+ acl Safe_ports port 210 # wais
60
+
61
+ acl Safe_ports port 1025-65535 # unregistered ports
62
+
63
+ acl Safe_ports port 280 # http-mgmt
64
+
65
+ acl Safe_ports port 488 # gss-http
66
+
67
+ acl Safe_ports port 591 # filemaker
68
+
69
+ acl Safe_ports port 777 # multiling http
70
+
71
+ acl CONNECT method CONNECT
72
+
73
+
74
+
75
+ #
76
+
77
+ # Recommended minimum Access Permission configuration:
78
+
79
+ #
80
+
81
+ # Deny requests to certain unsafe ports
82
+
83
+ http_access deny !Safe_ports
84
+
85
+
86
+
87
+ # Deny CONNECT to other than secure SSL ports
88
+
89
+ http_access deny CONNECT !SSL_ports
90
+
91
+
92
+
93
+ # Only allow cachemgr access from localhost
94
+
95
+ http_access allow localhost manager
96
+
97
+ http_access deny manager
98
+
99
+
100
+
101
+ http_access allow localnet
102
+
103
+ http_access allow localhost
104
+
105
+
106
+
107
+ coredump_dir /var/spool/squid
108
+
109
+
110
+
111
+ #
112
+
113
+ # Add any of your own refresh_pattern entries above these.
114
+
115
+ #
116
+
117
+ refresh_pattern ^ftp: 1440 20% 10080
118
+
119
+ refresh_pattern ^gopher: 1440 0% 1440
120
+
121
+ refresh_pattern -i (/cgi-bin/|?) 0 0% 0
122
+
123
+ refresh_pattern . 0 20% 4320
124
+
125
+
126
+
127
+ http_access allow all
128
+
129
+
130
+
131
+ client_persistent_connections off
132
+
133
+ server_persistent_connections off
134
+
135
+
136
+
137
+ acl balance random 1/2
138
+
139
+ balance_on_multiple_ip on
140
+
141
+
142
+
143
+ http_port 3218
144
+
145
+
146
+
147
+ visible_hostname unknown
148
+
149
+ forwarded_for off
150
+
151
+ request_header_access X-Forwarded-For deny all
152
+
153
+ request_header_access Via deny all
154
+
155
+ request_header_access Cache-Control deny all
156
+
157
+ reply_header_access X-Forwarded-For deny all
158
+
159
+ reply_header_access Via deny all
160
+
161
+ reply_header_access Cache-Control deny all
162
+
163
+
164
+
165
+ max_filedesc 65535
166
+
167
+
168
+
169
+ tcp_outgoing_address 52.xxx.xxx.xxx balance
170
+
171
+ tcp_outgoing_address 52.xxx.xxx.xxx balance
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ ```

1

修正

2020/04/21 12:45

投稿

Anon_
Anon_

スコア334

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,8 @@
1
1
  下記のサイトの通りに設定を行ったのですが、アクセスのたびにIPが変わりません。
2
2
 
3
3
  他のサイトも確認し色々試してみたのですが何が間違っているのか検討がつかない状況です。
4
+
5
+
4
6
 
5
7
  下記サイトの記載で設定が間違っている点などがあれば教えていただきたいです。
6
8