Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.package
Commits
8a6261a5
Commit
8a6261a5
authored
Jun 14, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow goproxy.cn
parent
954a00e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
1 deletion
+49
-1
playbook/slapos-standalone.yml
playbook/slapos-standalone.yml
+49
-1
No files found.
playbook/slapos-standalone.yml
View file @
8a6261a5
...
@@ -98,6 +98,11 @@
...
@@ -98,6 +98,11 @@
destination_port
:
443
destination_port
:
443
jump
:
ACCEPT
jump
:
ACCEPT
-
name
:
Change the goproxy in the hosts
lineinfile
:
line
:
"
47.246.23.229
goproxy.cn"
dest
:
/etc/hosts
-
name
:
Allow to access lab.nexedi.com
-
name
:
Allow to access lab.nexedi.com
iptables
:
iptables
:
action
:
append
action
:
append
...
@@ -145,6 +150,24 @@
...
@@ -145,6 +150,24 @@
destination
:
raw.githubusercontent.com
destination
:
raw.githubusercontent.com
jump
:
ACCEPT
jump
:
ACCEPT
-
name
:
Allow to access goproxy.cn
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
80
destination
:
47.246.23.229
jump
:
ACCEPT
-
name
:
Allow to access goproxy.cn
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
47.246.23.229
jump
:
ACCEPT
-
name
:
Allow to access github.com
-
name
:
Allow to access github.com
iptables
:
iptables
:
action
:
append
action
:
append
...
@@ -283,8 +306,33 @@
...
@@ -283,8 +306,33 @@
ctstate
:
ESTABLISHED,RELATED
ctstate
:
ESTABLISHED,RELATED
jump
:
ACCEPT
jump
:
ACCEPT
-
name
:
Reject all output connect
-
name
:
Reject all ipv4 output connect
iptables
:
chain
:
OUTPUT
table
:
filter
jump
:
REJECT
-
name
:
Allow to use localhost
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
INPUT
source
:
localhost
destination
:
localhost
jump
:
ACCEPT
-
name
:
Allow to use localhost
iptables
:
iptables
:
ip_version
:
ipv6
action
:
append
chain
:
OUTPUT
source
:
localhost
destination
:
localhost
jump
:
ACCEPT
-
name
:
Reject all ipv6 output connect
iptables
:
ip_version
:
ipv6
chain
:
OUTPUT
chain
:
OUTPUT
table
:
filter
table
:
filter
jump
:
REJECT
jump
:
REJECT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment