Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
應用場景
在某些情況下,我們只希望某些特定的外部 IP 可以存取 SMB 路由器後面的內部伺服器。使用 Access Control(存取控制)搭配 Virtual Server(虛擬伺服器) 可以滿足此一需求。
現在我們以 TL-ER6120 v2 為範例。網頁伺服器位於 TL-ER6120 LAN 埠後方,網址+通訊埠號為 192.168.0.2:8080。用戶端位於 WAN1 之外的 14.28.137.216。我們只想讓外部 IP 14.28.137.216 能夠存取這台伺服器。我們的拓樸連接如下。
我們怎樣才能做到這一點?
TL-ER6120 是 NAT 設備。網頁伺服器位於 TL-ER6120 後面的 192.168.0.2:8080。首先我們為所有外部 IP 開放 8080 通訊埠(約 192.168.0.2)。然後我們設定存取控制,限制只有 IP 14.28.137.216 才能存取網頁伺服器。具體設定步驟如下。
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.