返回列表 發帖

【OpenWRT】——Internal And Guest Wireless LANs

本帖最後由 角色 於 2014-5-25 16:35 編輯

有的时候,对Wireless Access是要把Internal Wireless LAN与Guest Wireless LAN分开,而Guest Wireless LAN不用密码可以上网,而Internal的就要密码,而Guest Wireless LAN的network segment与Internal Wireless  LAN segment不一样。

The installation procedure using LuCI method can be found in the post #8 (http://www.telecom-cafe.com/foru ... =5370&pid=38490).

Internal Wireless LAN

1. 先enable Internal的Wireless LAN
2. set security,选WPA2-PSK
3. 由于wlan是bridged with lan interface (lan interface有自己的interface ip,dhcp server, firewall forwarded to wan)

Guest Wireless LAN

1. 先在wifi,建立wlan_guest
2. 先建立一个新的interface wlan_guest
3. Interface wlan_guest建立interface ip address,DHCP server
4. Firewall wlan_guest => wan

reference: http://wiki.openwrt.org/doc/recipes/guest-wlan

回復 5# Mr.Tom

你的问题,可以参看Figure 6 of post #8 for custom DNS。

TOP

本帖最後由 角色 於 2014-5-25 16:52 編輯

The procedure to set up a guest wireless LAN (without any password)

1. Go to the page of Network->Wifi, as shown in Figure 1.


Figure 1: Network->Wifi

2. In Figure 1, press "Add" button, it gives Figure 2.


Figure 2: Network->Wifi, Interface Configuration

3. In Figure 2, under Interface Configuration,
    enter "Free WiFi" for ESSID field
    create "wlan_guest" under Network, as shown in Figure 2.

4. Save and Apply

5. Goto Network->Interfaces, it gives Figure 3.


Figure 3: Network->Interfaces

6. In Figure 3, edit WLAN_GUEST, it gives Figure 4.


Figure 4: Network->Interfaces for WLAN_GUEST

7. In Figure 4, change the protocol from "Unmanaged" to "Static address", it gives Figure 5.


Figure 5: Network->Interfaces for WLAN_GUEST

8. In Figure 5, click "Switch protocol" button, it gives Figure 6.


Figure 6: Network->Interfaces, protocol using static address

9. In Figure 6, enter "10.0.0.1" for IPv4 address

10. Enter "255.255.255.0" for IPv4 netmask

11. Press "Save" command

12. Under DHCP Server, click "Setup DHCP Server" (Use the default values, start = 100, Limit = 150, Leasetime = 12h)

13. Save and apply

14. Goto Network->Firewall, it gives Figure 7.


Figure 7: Network->Firewall

15. Press 'Add", as shown in Figure 7, it gives Figure 8.


Figure 8: Netowrk->Firewall, zone forwarding

16. In Figure 8, under General Settings, add "waln_guest" to the Name field

17. Under "Covered network", tick the box for "wlan_guest"

18. Under Inter-Zone forwarding, put a tick to the box for "wan" to allow forward to destination zones.

19. Save and apply

20. Reoboot the router
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

本帖最後由 角色 於 2014-5-25 11:59 編輯

哈哈,如果全用luci (web-gui)来做,以现在的功力根本set不到Guest WiFi。

TOP

真的不知道,但是一般也没有必要。

TOP

能否自定不同的dns ip
例如Wifi1 anto dns ip:8.8.8.8
Wifi2 anto dns ip:192.241.222.103

TOP

是的。。。

TOP

這樣能分離公用和私人網絡?

TOP









附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

返回列表