24 lines
980 B
Markdown
24 lines
980 B
Markdown
# Port forward
|
|
|
|
| Name | Ext Port | Int Port | Protocol |
|
|
|-------------|--------------|--------------|----------|
|
|
| NGINX 80 | 80 | 80 | TCP |
|
|
| NGINX 443 | 443 | 443 | TCP |
|
|
| GITEA SSH | 22 | 22 | TCP |
|
|
| EJ 5222 | 5222 | 5222 | TCP |
|
|
| EJ 5223 | 5223 | 5223 | TCP |
|
|
| EJ 5269 | 5269 | 5269 | TCP |
|
|
| EJ 5443 | 5443 | 5443 | TCP |
|
|
| EJ 5478 | 5478 | 5478 | UDP |
|
|
| EJ 1883 | 1883 | 1883 | TCP |
|
|
|
|
# How to change public IP
|
|
- Edit `turn_ipv4_address:` at `/mnt/md0/ejabberd/conf/ejabberd.yml`.
|
|
- Point domain to the new IP and all subdomains.
|
|
|
|
# Change private IP
|
|
- Edit port forward settings to point to the new IP.
|
|
|
|
# Configure port forward from scratch
|
|
- Forward every port explicitly declared in `ports` field of every container.
|