> For the complete documentation index, see [llms.txt](https://manual-en.seara.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual-en.seara.biz/connect-to-seara-with/peplink.md).

# 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.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-f7a19e579ad19278469e4cc8e2b61810e28ddbbf%2Fimage%20(520).png?alt=media" alt=""><figcaption></figcaption></figure>

## Radius Setting

Go to the menu Advanced > RADIUS Server.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-996e9f0acd4e01d1ef05996b46cb6a081454f161%2Fimage%20(529).png?alt=media" alt=""><figcaption></figcaption></figure>

**Authentication Server: click New Profile**

* Name: enter a profile name
* Host: enter the RADIUS Server IP
* Port: use the default port
* Secret: rito8igsonv

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-79ed9e22f9453fba6fc5f79e4f2cb6862a71e0b5%2Fimage%20(533).png?alt=media" alt=""><figcaption></figcaption></figure>

**Accounting Server: click New Profile**

* Name: enter a profile name
* Host: enter the RADIUS Server IP
* Port: use the default port
* Secret: rito8igsonv

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-26d3dd9ce883769a18718e9aaa4e17e1d12e87b6%2Fimage%20(532).png?alt=media" alt=""><figcaption></figcaption></figure>

## 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.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-edaf7da37ec8dfa4c76ba7fb1decbe8cea64c725%2Fimage%20(521).png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-d13626d8fe29b8fc3e25a5f4856f242d799f68df%2Fimage%20(522).png?alt=media" alt=""><figcaption></figcaption></figure>

**Configure a Loopback for certificate verification**

Click New LAN.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-d41dff7a4f7f08cd01dbaca4f2e983c97a8bb9db%2Fimage%20(523).png?alt=media" alt=""><figcaption></figcaption></figure>

Configure as shown in the example image.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-0c5d55dc206cd0e850081fa29c5482c940ce12a9%2Fimage%20(524).png?alt=media" alt=""><figcaption></figcaption></figure>

**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.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-e93d564830e3df0f79a970564a0f018ce3983bfc%2Fimage%20(525).png?alt=media" alt=""><figcaption></figcaption></figure>

## Captive Portal Setting

Go to the Captive Portal menu.

Click New Portal.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-f1d5fb0bd8ceb15572f8719a22e9b1b91fdb5ca2%2Fimage%20(528).png?alt=media" alt=""><figcaption></figcaption></figure>

Configure as shown in the image.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-a7bf36b4d269aa93234a10167230901444b91662%2Fimage%20(534).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-666ec95bffdecbd653f454e881a13426e95bb16c%2Fimage%20(535).png?alt=media" alt=""><figcaption></figcaption></figure>

**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.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-e5f0f3444e40ef80fa94173981f6a928405b29e3%2Fimage%20(538).png?alt=media" alt=""><figcaption></figcaption></figure>

## Certification

Go to the menu Advanced > Certificate Manager.

Next to Captive Portal SSL, click Edit.

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-ea40e366c4fdbc07fdefc2a4e835ba343903bb09%2Fimage%20(536).png?alt=media" alt=""><figcaption></figcaption></figure>

**Private Key:** copy from the file named <mark style="color:blue;">**STAR.captive-portal.net.key**</mark>

**Local Public Key Certificate:** copy from the file named <mark style="color:purple;">**STAR.captive-portal.net.crt**</mark>

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-09d0935d86ef6692fafcce870e96974c639f6f58%2Fimage%20(537).png?alt=media" alt=""><figcaption></figcaption></figure>

Endpoint configuration on Seara

**endpoint:**[**https://peplink.captive-portal.net:8000/portal.cgi**](https://peplink.captive-portal.net:8000/portal.cgi)

**orig\_url:**[**https://google.com**](https://google.com) **(or any other site you want to redirect to after a successful login)**

<figure><img src="https://2507662344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDBkKbWLZfasd8l3v8ndZ%2Fuploads%2Fgit-blob-d14844dab0d0fca1824e4d0209baa2bbd6e8cc27%2Fimage%20(539).png?alt=media" alt=""><figcaption></figcaption></figure>
