Commit 4348a85a authored by Boxiang Sun's avatar Boxiang Sun

Allow all ports on the local IPv6

parent b2e67cc5
...@@ -457,15 +457,6 @@ ...@@ -457,15 +457,6 @@
destination: registry.npmjs.org destination: registry.npmjs.org
jump: ACCEPT jump: ACCEPT
# - name: This is an IP behinde the taobao npm registry...
# iptables:
# action: append
# chain: OUTPUT
# protocol: tcp
# destination_port: 443
# dst_range: 47.246.48.225-47.246.48.230
# jump: ACCEPT
- name: This is an IP behinde the taobao npm registry... - name: This is an IP behinde the taobao npm registry...
iptables: iptables:
action: append action: append
...@@ -496,25 +487,13 @@ ...@@ -496,25 +487,13 @@
destination: cdn.cypress.io destination: cdn.cypress.io
jump: ACCEPT jump: ACCEPT
# Needed by metabase # Open all ports on the IPv6 address
- name: Allow to access localhost:8443 - name: Allow to access ipv6 localhost with all ports
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8443
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Needed by metabase caucase
- name: Allow to access localhost:8009
iptables: iptables:
ip_version: ipv6 ip_version: ipv6
action: append action: append
chain: OUTPUT chain: OUTPUT
protocol: tcp protocol: tcp
destination_port: 8009
destination: 2001:67c:1254:105:28ad::d94 destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT jump: ACCEPT
...@@ -529,584 +508,6 @@ ...@@ -529,584 +508,6 @@
destination: 2001:67c:1254:4::1 destination: 2001:67c:1254:4::1
jump: ACCEPT jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8087
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8087
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8088
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8088
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR jstestnode
- name: Allow to access localhost:9443
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9443
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR seleniumserver
- name: Allow to access localhost:8196
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8196
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slaprunner
- name: Allow to access localhost:8386
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8386
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slaprunner
- name: Allow to access localhost:8437
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8437
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slaprunner
- name: Allow to access localhost:9686
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9686
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR backupserver
- name: Allow to access localhost:9687
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9687
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR htmlvalidatorserver
- name: Allow to access localhost:8333
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8333
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR dream
- name: Allow to access localhost:18080
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 18080
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:55337
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 55337
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:39219
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 39219
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:54015
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 54015
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR fluentd
- name: Allow to access localhost:54013
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 54013
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR repman
- name: Allow to access localhost:2199
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2199
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR repman
- name: Allow to access localhost:2099
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2099
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:8003
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8003
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:8002
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8002
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2204
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2204
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2156
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2156
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2004
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2004
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2014
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2014
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2100
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2100
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2101
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2101
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2206
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2206
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2208
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2208
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2153
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2153
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2204
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2204
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2221
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2221
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2225
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2225
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2251
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2251
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2241
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2241
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2160
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2160
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2231
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2231
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2211
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2211
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2154
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2154
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2308
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2308
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:3307
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 3307
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:2152
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 2152
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:8888
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8888
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR slapos-master
- name: Allow to access localhost:1234
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 1234
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR matomo
- name: Allow to access localhost:9988
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9988
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8198
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8198
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8199
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8199
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8097
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8097
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as
- name: Allow to access localhost:8197
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8197
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR html5as-base
- name: Allow to access localhost:8081
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8081
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# Required by the SR gitlab
- name: Allow to access localhost:7777
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 7777
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
- name: Allow to access localhost:8086
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8086
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
- name: Allow to access localhost:8180
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8180
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
- name: Allow to access localhost:8196, required by test caddy-frontend
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8990
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
- name: Allow to access localhost:8196, required by test jscrawler
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 8196
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
- name: Allow to access localhost:9083, required by test jscrawler
iptables:
ip_version: ipv6
action: append
chain: OUTPUT
protocol: tcp
destination_port: 9083
destination: 2001:67c:1254:105:28ad::d94
jump: ACCEPT
# This is for connect to the test suite and upload the test result. # This is for connect to the test suite and upload the test result.
# You need to replace it with your own ERP5 instance domain s # You need to replace it with your own ERP5 instance domain s
- name: Allow to access ERP5 test suite address - name: Allow to access ERP5 test suite address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment