Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Levin Zimmermann
slapos
Commits
11e2a97b
Commit
11e2a97b
authored
Jan 12, 2023
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rapid-cdn: Explain issues with low port methods
parent
0bf12171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
software/rapid-cdn/README.rst
software/rapid-cdn/README.rst
+10
-0
No files found.
software/rapid-cdn/README.rst
View file @
11e2a97b
...
@@ -347,6 +347,12 @@ Additionally in order to access the server by itself such entries are needed in
...
@@ -347,6 +347,12 @@ Additionally in order to access the server by itself such entries are needed in
ip6tables -t nat -A OUTPUT -p tcp -d ${public_ipv6} --dport 443 -j DNAT --to ${listening_ipv6}:4443
ip6tables -t nat -A OUTPUT -p tcp -d ${public_ipv6} --dport 443 -j DNAT --to ${listening_ipv6}:4443
ip6tables -t nat -A OUTPUT -p tcp -d ${public_ipv6} --dport 80 -j DNAT --to ${listening_ipv6}:8080
ip6tables -t nat -A OUTPUT -p tcp -d ${public_ipv6} --dport 80 -j DNAT --to ${listening_ipv6}:8080
**Note regarding ports**:
* the port seen by application in case of IPv4 will be "correct" - the ``443`` or ``80``
* the port seen by application in case of IPv6 will be "incorrect" - the ``4443`` or ``8080``
Solution 2 (network capability)
Solution 2 (network capability)
-------------------------------
-------------------------------
...
@@ -359,6 +365,10 @@ Then specify in the master instance parameters:
...
@@ -359,6 +365,10 @@ Then specify in the master instance parameters:
* set ``port`` to ``443``
* set ``port`` to ``443``
* set ``plain_http_port`` to ``80``
* set ``plain_http_port`` to ``80``
**Note regarding securitry**:
* such configuration results with all partitions being able to bind to low ports using this binary
Authentication to the backend
Authentication to the backend
=============================
=============================
...
...
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