-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
67 lines (61 loc) · 1.22 KB
/
docker-compose.yml
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
version: "2.1"
services:
nat1:
image: natlab:testing
cap_add:
- NET_ADMIN
networks:
lan1:
wan:
nat2:
image: natlab:testing
cap_add:
- NET_ADMIN
networks:
lan2:
wan:
client1:
image: natlab:testing
cap_add:
- NET_ADMIN
networks:
lan1:
command: ["/bin/bash", "-c", "sleep 180000"]
client2:
image: natlab:testing
cap_add:
- NET_ADMIN
networks:
lan2:
command: ["/bin/bash", "-c", "sleep 180000"]
networks:
lan1:
enable_ipv6: true
ipam:
config:
- subnet: 100.70.0.0/24
ip_range: 100.70.0.0/24
- subnet: fd00:feca:1::/120
ip_range: fd00:feca:1::/120
gateway: fd00:feca:1::1
internal: true
lan2:
enable_ipv6: true
ipam:
config:
- subnet: 100.71.0.0/24
ip_range: 100.71.0.0/24
- subnet: fd00:feca:2::/120
ip_range: fd00:feca:2::/120
gateway: fd00:feca:2::1
internal: true
wan:
enable_ipv6: true
ipam:
config:
- subnet: 100.100.0.0/24
ip_range: 100.100.0.0/24
gateway: 100.100.0.1
- subnet: fd00:feca:100::/120
ip_range: fd00:feca:100::/120
gateway: fd00:feca:100::1