{% extends "base.html" %} {% block content %}

PPPoE Subscriber Server

Sell credentialed PPPoE accounts to wired subscribers (routers/PCs), alongside the coin hotspot.

{% if flash_msg %}
{{ flash_msg }}
{% endif %} {% if error_msg %}
{{ error_msg }}
{% endif %}

Server Settings

{% if cfg.enabled %} {{ 'Running' if cfg.service_active else 'Enabled' }} {% else %} Disabled {% endif %}

Server: {{ cfg.vlan_iface }} at {{ cfg.server_ip }}, client pool from {{ cfg.pool_start }}. Wired clients dial with their account username/password. Enabling restarts the hotspot briefly; the WAN is never touched.

⚠ Saving restarts the PPPoE server, so active PPPoE sessions disconnect and reconnect. Changing the VLAN id also requires the downstream switch port to be re-tagged to the new VLAN.

Accounts ({{ accounts|length }})

{% if accounts %}
{% for a in accounts %} {% endfor %}
Username Status Download Upload Expires Actions
{{ a.username }} {% if a.expired %} Expired {% elif a.status == 'suspended' %} Suspended {% else %} Active {% endif %} {{ a.down_disp }} {{ a.up_disp }} {{ a.expiry_date if a.expiry_date else '—' }}
{% else %}
No PPPoE accounts yet. Add Account to create one for a wired subscriber.
{% endif %}
{% endblock %}