# Setup Wallgarden

<mark style="color:orange;">**System --> Script**</mark>

ตั้งชื่อ domain name และ copy Script  Wallgarde ไปใส่ได้เลย

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2FBCKZBnfZFrdYZuqkgcGp%2Fimage.png?alt=media&#x26;token=741e959f-9e35-4688-9bc0-c86bbb99fe4d" alt=""><figcaption></figcaption></figure>

1. **Line >> ใส่ชื่อใน comment**

<mark style="color:green;">######### Line ACL List Allow #########</mark>

<mark style="color:green;">/ip firewall address-list</mark>

<mark style="color:green;">add address=terms.line.me list=Trusted-Line</mark>

<mark style="color:green;">add address=line.me list=Trusted-Line</mark>

<mark style="color:green;">add address=d.line-scdn.net list=Trusted-Line</mark>

<mark style="color:green;">add address=access.line.me list=Trusted-Line</mark>

<mark style="color:green;">add address=static.line-scdn.net list=Trusted-Line</mark>

<mark style="color:green;">add address=profile.line-scdn.net list=Trusted-Line</mark>

2\.   **Facebook >> ใส่ชื่อใน comment**

<mark style="color:green;">######### FB Wallgarden #########</mark>

<mark style="color:green;">/ip hotspot walled-garden</mark>

<mark style="color:green;">add dst-host=\*.facebook.com</mark>

<mark style="color:green;">add dst-host=\*.facebook.net</mark>

<mark style="color:green;">add dst-host=\*.akamaihd.net</mark>

<mark style="color:green;">add dst-host=\*.digicert.com</mark>

<mark style="color:green;">add dst-host=\*.fbcdn.net</mark>

<mark style="color:green;">add dst-host=\*.fb.com</mark>

<mark style="color:green;">add dst-host=\*.fbsbx.com</mark>

<mark style="color:green;">add dst-host=\*.facebook.com</mark>

<mark style="color:green;">add dst-host=\*.facebook.net</mark>

<mark style="color:green;">add dst-host=\*.akamaihd.net</mark>

<mark style="color:green;">add dst-host=\*.digicert.com</mark>

<mark style="color:green;">add dst-host=\*.fbcdn.net</mark>

<mark style="color:green;">add dst-host=\*.fb.com</mark>

<mark style="color:green;">add dst-host=\*.fbsbx.com</mark>

**3.  Youtube >> ใส่ชื่อใน comment**

<mark style="color:green;">### Youtube Wallgarden #########</mark>

<mark style="color:green;">/ip hotspot walled-garden</mark>

<mark style="color:green;">add dst-host=.youtube.com</mark>

<mark style="color:green;">add dst-host=.ytimg.com</mark>

<mark style="color:green;">add dst-host=.google.com</mark>

<mark style="color:green;">add dst-host=.googlevideo.com</mark>

กด Run Script ทีละ Wallgarde

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2Fw2S9IMy4fLjKO9FL9oiQ%2Fimage.png?alt=media&#x26;token=e14c968c-2b24-45bf-b6f3-30241ef2ca61" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**IP --> Hotspot --> Walled Garden IP List**</mark>

**Wall garden 1** : ใส่ชื่อ domain       (seara-portal.net)

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2Fou7FKEZKS2PfMgIKiXYX%2Fimage.png?alt=media&#x26;token=43687b6e-b101-4b64-a040-92984bc4e2ed" alt=""><figcaption></figcaption></figure>

**Wall garden 2** : ACL List Line

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2Ff59ebfcCCn3PeOUqNRWi%2Fimage.png?alt=media&#x26;token=5eef0cad-494c-48e1-8bfe-e4f6f8557aed" alt=""><figcaption></figcaption></figure>
