[問答] iptables設定問題請益
我有兩個interface如下:
bridge0 Link encap:Ethernet HWaddr 94:91:7F:55:76:1D
inet addr:100.74.55.169 Bcast:100.74.55.175 Mask:255.255.255.240
inet6 addr: fe80::9691:7fff:fe55:761d/64 Scope:Link
UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:2257 errors:0 dropped:0 overruns:0 frame:0
TX packets:2225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2536619 (2.4 MiB) TX bytes:2685068 (2.5 MiB)
eth0 Link encap:Ethernet HWaddr 94:91:7F:55:76:1D
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::9691:7fff:fe55:761d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2289 errors:0 dropped:0 overruns:0 frame:0
TX packets:2205 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:2570729 (2.4 MiB) TX bytes:2699632 (2.5 MiB)
Interrupt:44
而這兩個介面又是橋接起來的, eth0->bridge0->internet
bridge name bridge id STP enabled interfaces
bridge0 8000.94917f55761d no eth0
請問,該如何設定讓一設備,例如拿到ip為100.74.55.170的裝置可以讀取到
login web(位址為192.168.1.1)?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.216.178.86
※ 文章網址: https://www.ptt.cc/bbs/Network/M.1557222160.A.F8A.html
→
05/07 19:15,
5年前
, 1F
05/07 19:15, 1F
→
05/07 19:32,
5年前
, 2F
05/07 19:32, 2F
→
05/08 22:05,
5年前
, 3F
05/08 22:05, 3F
Network 近期熱門文章
PTT數位生活區 即時熱門文章