# Peplink

## WAN Setting

ตั้งค่าในส่วนของ Interface WAN ให้ Router สามารถออกอินเตอร์เน็ตได้ หากมี Internet หลายเส้นก็ให้ทำ Load balance ให้เรียบร้อยก่อน

<figure><img src="/files/irI2nNBrEUxBPuVBZ2sN" alt=""><figcaption></figcaption></figure>

## Radius Setting

ไปที่เมนู Advanced > RADIUS Server

<figure><img src="/files/1vyJI26JEzi5e7uZjqBD" alt=""><figcaption></figcaption></figure>

**Authentication Server : กด New Profile**

* Name : ตั้งชื่อ Profile
* Host : ใส่ IP Radius Server
* Port : ใช้ Port Defualt
* Secret : rito8igsonv

<figure><img src="/files/rRwX5mKjEZC85968spVX" alt=""><figcaption></figcaption></figure>

**Accounting Server : กด New Profile**

* Name : ตั้งชื่อ Profile
* Host : ใส่ IP Radius Server
* Port : ใช้ Port Defualt
* Secret : rito8igsonv

<figure><img src="/files/pD9D7NAVn9ugwCmsnmin" alt=""><figcaption></figcaption></figure>

## LAN Setting

ไปที่ Menu Network > Nework Setting&#x20;

จะมี netowork Defualt ชื่อ Untagged LAN สามารถใช้ Network นี้ได้เลย หรือหากต้องการแก้ไข IP address ของ Client ก็กดเข้าไปที่ Untagged Network

<figure><img src="/files/vyEiUJg00DNzsYViKjsg" alt=""><figcaption></figcaption></figure>

1. เปลี่ยน IP Address และ Subnet
2. เลือกตามภาพ
3. ตั้งค่า dhcp server & ip range

<figure><img src="/files/y6zpqYSM7FiDS7FQ9vmb" alt=""><figcaption></figcaption></figure>

**ตั้งค่า Loopback เพื่อใช้สำหรับ Verify Cert**

กด New LAN

<figure><img src="/files/S12yvMLXssRLwwcNAy2Z" alt=""><figcaption></figcaption></figure>

ตั้งค่าตามภาพตัวอย่าง

<figure><img src="/files/Tbjek2wYAH6U8ArnHJmm" alt=""><figcaption></figcaption></figure>

**ตั้งค่า Port ของ Router ว่าต้องการให้ Port ไหนใช้สำหรับ LAN**&#x20;

ไปที่ Menu Port Setting  จากนั้นเลือก Port ที่ต้องการให้เป็น LAN สำหรับ Client  ตัวอย่างจะใช้ Port 1,2&#x20;

จากนั้นที่เหลือให้ตั้งค่าตามภาพ

<figure><img src="/files/DyAbJBkrwrU9yEXi6u5l" alt=""><figcaption></figcaption></figure>

## Captive Portal Setting

ไปที่เมนู Captive portal

กด New Portal

<figure><img src="/files/wdCvyHZClTGcXzkLmHWI" alt=""><figcaption></figcaption></figure>

ตั้งค่าตามภาพ

<figure><img src="/files/08wVnbaw0WWGIeq11hSh" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/g78kjcxqTrF4nm9v46F0" alt=""><figcaption></figcaption></figure>

**ในส่วนของ NAS-Port-Id :** ให้ไปเอา Mac Address Interface LAN มาใส่  ดูได้ที่เมนู Status > Device &#x20;

จากนั้นเลื่อนลงไปด้านล่างจะเจอกับ Mac Address ให้ Copy Mac address ของ LAN มาใส่

<figure><img src="/files/KV2Pt5Ddpg2ULzlZc1Od" alt=""><figcaption></figcaption></figure>

## Certification

ไปที่เมนู Advanced > certificate Manager

ตรง Captive Portal SSL กด Edit

<figure><img src="/files/1RGhTu38FxvdRL3Ye9x4" alt=""><figcaption></figcaption></figure>

**Private Key :** Copy มาจากไฟล์ที่ชื่อ <mark style="color:blue;">**STAR.captive-portal.net.key**</mark>

**Local Public Key Certificate  :** Copy มาจากไฟล์ที่ชื่อ <mark style="color:purple;">**STAR.captive-portal.net.crt**</mark>

<figure><img src="/files/AC4n1ERdeO8USS6ZC7Iv" alt=""><figcaption></figcaption></figure>

การตั้งค่า Endpoint บน 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)  **(หรือ web อื่นที่ต้องการให้ redirec หลังจาก Login สำเร็จ)**

<figure><img src="/files/8BMbYCm9ea5kwr6SKRo4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.seara.biz/connect-to-seara-with/peplink.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
