Peplink
How to configure Peplink to work with Seara
WAN Setting
Configure the WAN interfaces so the router can reach the Internet. If there are multiple Internet lines, finish setting up Load Balance first.

Radius Setting
Go to the menu Advanced > RADIUS Server.

Authentication Server: click New Profile
Name: enter a profile name
Host: enter the RADIUS Server IP
Port: use the default port
Secret: rito8igsonv

Accounting Server: click New Profile
Name: enter a profile name
Host: enter the RADIUS Server IP
Port: use the default port
Secret: rito8igsonv

LAN Setting
Go to the menu Network > Network Setting.
There is a default network called Untagged LAN — you can use this network as is, or click on the Untagged Network entry to edit the client IP address.

Change the IP Address and Subnet.
Select as shown in the image.
Configure the DHCP server & IP range.

Configure a Loopback for certificate verification
Click New LAN.

Configure as shown in the example image.

Configure the router ports — choose which ports are used as LAN
Go to the menu Port Setting, then select the ports to use as LAN for clients. In this example, ports 1 and 2 are used.
Configure the remaining options as shown in the image.

Captive Portal Setting
Go to the Captive Portal menu.
Click New Portal.

Configure as shown in the image.


For the NAS-Port-Id: enter the MAC Address of the LAN interface. You can find it under the menu Status > Device.
Scroll down to find the MAC Address, then copy the LAN MAC address and paste it in.

Certification
Go to the menu Advanced > Certificate Manager.
Next to Captive Portal SSL, click Edit.

Private Key: copy from the file named STAR.captive-portal.net.key
Local Public Key Certificate: copy from the file named STAR.captive-portal.net.crt

Endpoint configuration on Seara
endpoint:https://peplink.captive-portal.net:8000/portal.cgi
orig_url:https://google.com (or any other site you want to redirect to after a successful login)

Last updated