Inbound、Outbound (Ingress、Egress) 名詞筆記

2024-03-12

筆記網路名詞,方便記憶

AWS
Security Group 的名詞

Inbound

傳入/入站

Outbound

傳出/出站
GCP
防火牆 的名詞

Ingress

輸入/入站

Egress

輸出/出站
外面想連到 VM
例如:
- 外面要瀏覽 VM 上的網頁
- 外面要 ssh VM
- 外面要連接 VM 內的 MySQL

* 要阻擋特定外部的惡意流量,是在 Inbound 設定
VM 要連到外面
例如:
VM 要連到外部主機:
$ ssh [外部主機ip]

VM 要讀取外部 web:
$ curl https://www.google.com


  • 要禁止 VM 連到外面網站
    在 Outbound 設定
    (如禁止內部用戶連到某些網站)

參考圖:

GCP firewall GCP firewall 設定截圖

GCP Firewall 內定值 GCP Firewall 內定值

AWS Security Group AWS Security Group 設定截圖

AWS Security Group, Outbound 內定規則 AWS Security Group, Outbound 的內定規則

分類:雲端      127
Tag network ,
留言

留言
top