diff --git a/templates/firewall/manage_redirect_rule.html b/templates/firewall/manage_redirect_rule.html index d3c2a33..4bdb4d4 100644 --- a/templates/firewall/manage_redirect_rule.html +++ b/templates/firewall/manage_redirect_rule.html @@ -2,164 +2,151 @@ {% block content %} -
-
-
-

{{ form.instance.pk|yesno:"Edit User,Create New User" }}

-
-
-
-
+
+
+
+

{{ form.instance.pk|yesno:"Edit User,Create New User" }}

+
+
+
+
-
- {% csrf_token %} -
- - -
-
- - -
+ + {% csrf_token %} +
+ + +
+
+ + +
- -
- - -
+
+ + +
-
- - -
+
+ + +
-
- - +
+ + +
+
+ + +
+
+ + +
+
+ + +
-
-
- - -
-
- - -
-
- - -
+
+
+ + +
+
+
+
+ + +
+
-
-
- - + + Back + {% if instance %}Delete Rule{% endif %} + + +
+
+
Default Ports
+

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

+ +
Destination Type: Peer
+

Port redirection will prioritize the first Peer IP address assigned a priority of Zero.

+ +
Destination Type: IP Address
+

Port forwarding rules will redirect to the specified IP address. Remember to allocate the IP address or network to a Peer.

+ +
Adding a Forward Rule
+

Automatically generates a forwarding rule to accommodate stricter firewall settings.

+ +
Masquerade Source
+

This serves as a temporary solution when a peer does not use the VPN as its default gateway. It's important to note that this configuration is not recommended, as it alters the source address of all connections to match the IP address of the WireGuard instance.

+ +
+
+
-
-
- - -
-
- - - Back - {% if instance %}Delete Rule{% endif %} - - - - -
- - -
-
Default Ports
-

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

- -
Destination Type: Peer
-

Port redirection will prioritize the first Peer IP address assigned a priority of Zero.

- -
Destination Type: IP Address
-

Port forwarding rules will redirect to the specified IP address. Remember to allocate the IP address or network to a Peer.

- -
Adding a Forward Rule
-

Automatically generates a forwarding rule to accommodate stricter firewall settings.

- -
Masquerade Source
-

This serves as a temporary solution when a peer does not use the VPN as its default gateway. It's important to note that this configuration is not recommended, as it alters the source address of all connections to match the IP address of the WireGuard instance.

- -
- - -
- -
-
-
- - {% endblock %} {% block custom_page_scripts %} - + // E também na mudança do campo + document.getElementById("destinationType").addEventListener("change", adjustVisibilityBasedOnDestinationType); + - - - + {% endblock %} \ No newline at end of file