{% extends "base.html" %} {% block title %}Configure Services - Shifter{% endblock %} {% block header_title %}Service Configuration{% endblock %} {% block content %} {% if flash %}
{% if flash.type == 'success' %} {% else %}{% endif %}

{{ 'Success' if flash.type == 'success' else 'Error' }}

{{ flash.message }}
{% endif %}
{% set card_border_class = 'border-t-4 border-blue-500' %} {% if services.gost.active == 'active' %}

Manage GOST Rules

{% for item in removable_items.gost %} {% else %} {% endfor %}
Rule: {{ item.port }} ({{ item.protocols }}) → {{ item.domain }}
No rules found.

Add New Rule

Danger Zone

Permanently remove the service and all its configuration.

{% else %}

Install GOST

Service is not active. Install it to begin.

{% endif %}
{% set card_border_class = 'border-t-4 border-amber-500' %} {% if services.haproxy.active == 'active' %}

Manage HAProxy Tunnels

{% for item in removable_items.haproxy %} {% else %} {% endfor %}
Tunnel: {{ item.frontend }} ({{ item.port }}) → {{ item.destination }}
No tunnels found.

Add New Tunnel

Danger Zone

Permanently remove the service and configuration.

{% else %}

Install HAProxy

Service is not active. Install it to begin.

{% endif %}
{% set card_border_class = 'border-t-4 border-violet-500' %} {% if services.xray.active == 'active' %}

Manage Xray Inbounds

{% for item in removable_items.xray %} {% else %} {% endfor %}
Inbound: {{ item.tag }} ({{ item.port }}) → {{ item.destination }}
No inbounds found.

Add New Inbound

Danger Zone

Permanently remove the service and configuration.

{% else %}

Install Xray

Service is not active. Install it to begin.

{% endif %}
{% set card_border_class = 'border-t-4 border-teal-500' %} {% if services.iptables.active == 'active' %}

Current IPTables Rules

    {% for detail in services.iptables.details %}
  • {{ detail }}
  • {% else %}
  • No forwarding rules found.
  • {% endfor %}

Danger Zone

This will flush all rules and remove persistence.

{% else %}

Install IPTables Rules

Service is not active. Install rules to begin.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}