1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Port to listen on.
16Port 8011
17
18# IP to listen on.
19Listen 10.1.2.1
20
21# IP on which external connections are created.
22Bind 10.1.3.2
23
24# Allow only requests from this IP.
25Allow 127.0.0.1
26Allow 10.1.1.1
27
28# Allow only requests on these ports.
29ConnectPort 443
30ConnectPort 80
31
32# Allow these many parallel connections and underlying server connections.
33MaxClients 1000
34StartServers 10
35
36# Deny requests that don't match the domain allowlist defined below.
37FilterDefaultDeny Yes
38
39# Domain allowslist file, generated in code.
40Filter "/tmp/rbe_allowlist.txt"
41