我正在建立一个家庭网络,并希望将有线设备和无线设备分开。
我的主网络接口位于 em0 - 10.0.0.1/24
我在 em5 上创建了一个 VLAN - 1.0.100.1/24
将此拆分到我的 LAN 中,具有相同的防火墙规则,因为最重要的端口 80 用于 http 和 443 用于 https
当我通过 WiFi 或有线方式将设备连接到 em5 端口线时,它会开始租用 IPv4 子掩码、网关等……但无法访问互联网。
我的知识已经用尽,也试图设置 NAT 规则,需要尽快完成。有人能帮我找出问题出在哪里吗?证据,我有一些网络基础知识,但显然不是专家。非常感谢你的帮助
这里附加了防火墙和 NAT(出站)规则: 防火墙规则 NAT 规则
这是我从日志中得到的信息:
2021-03-18T22:04:41 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,0,0,DF,17,udp,76,83.150.6.16,85.195.227.162,35432,123,56
2021-03-18T22:04:40 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19264,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,1761,443,0,S,4062824086,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:39 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19254,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,54568,443,0,S,1167036978,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:39 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,18301,0,DF,17,udp,1378,83.150.6.16,172.217.168.10,47813,443,1358
2021-03-18T22:04:39 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,58233,0,none,17,udp,77,83.150.6.16,212.25.1.1,8981,53,57
2021-03-18T22:04:39 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,245,54321,0,none,6,tcp,40,192.241.226.44,217.71.252.184,38659,9001,0,S,409994833,,65535,,
2021-03-18T22:04:39 filterlog[32051] 107,,,0,em1,match,pass,out,4,0xb8,,64,3624,0,none,17,udp,76,83.150.6.16,185.101.158.113,123,123,56
2021-03-18T22:04:36 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,51649,0,none,6,tcp,40,45.155.205.22,217.71.252.184,56937,17214,0,S,39810631,,1024,,
2021-03-18T22:04:36 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19245,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,39976,443,0,S,667640876,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:35 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19235,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,18509,443,0,S,2993066276,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:34 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,254,42447,0,none,17,udp,76,83.150.6.16,185.101.158.113,37296,123,56
2021-03-18T22:04:33 filterlog[32051] 106,,,0,em0,match,pass,in,4,0x0,,64,3957,0,DF,6,tcp,64,10.0.0.221,10.0.0.1,58192,443,0,S,4273592887,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:33 filterlog[32051] 106,,,0,em0,match,pass,in,4,0x0,,64,39778,0,DF,6,tcp,64,10.0.0.221,10.0.0.1,58191,443,0,S,2199747829,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:33 filterlog[32051] 106,,,0,em0,match,pass,in,4,0x0,,64,8281,0,DF,6,tcp,64,10.0.0.221,10.0.0.1,58190,443,0,S,3598387476,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:32 filterlog[32051] 102,,,0,em3,match,pass,out,4,0x0,,55,36866,0,DF,17,udp,607,80.218.157.162,10.10.10.12,62379,5060,587
2021-03-18T22:04:32 filterlog[32051] 6,,,0,em1,match,rdr,in,4,0x0,,56,36866,0,DF,17,udp,607,80.218.157.162,10.10.10.12,62379,5060,587
2021-03-18T22:04:31 filterlog[32051] 107,,,0,em1,match,pass,out,4,0xb8,,63,38522,0,none,17,udp,76,83.150.6.16,185.17.70.106,18824,123,56
2021-03-18T22:04:31 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,10146,0,none,6,tcp,40,45.155.205.22,217.71.252.185,56937,17214,0,S,2485884965,,1024,,
2021-03-18T22:04:30 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19225,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,55731,443,0,S,1401231552,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:30 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,36948,0,none,6,tcp,40,195.54.161.151,217.71.252.184,42919,18087,0,S,2339187275,,1024,,
2021-03-18T22:04:30 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,254,14908,0,none,17,udp,76,83.150.6.16,185.101.158.113,37615,123,56
2021-03-18T22:04:28 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15449,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,42328,80,0,S,2307379948,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:28 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15442,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,64047,80,0,S,959258948,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:27 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,53,6343,0,none,1,icmp,170,103.106.101.42,10.10.10.12,datalength=150
2021-03-18T22:04:26 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,56227,0,none,6,tcp,40,194.147.140.151,83.150.6.16,41494,16360,0,S,1653989979,,1024,,
2021-03-18T22:04:23 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,249,57853,0,none,6,tcp,40,45.155.205.23,217.71.252.187,56965,18582,0,S,73160144,,1024,,
2021-03-18T22:04:23 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,60255,0,none,6,tcp,40,89.248.165.134,217.71.252.187,49889,334,0,S,3138066090,,1024,,
2021-03-18T22:04:22 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,11396,0,none,6,tcp,40,45.155.205.25,83.150.6.16,57020,23626,0,S,3635967710,,1024,,
2021-03-18T22:04:21 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19216,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,21204,443,0,S,1211010097,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:21 filterlog[32051] 106,,,0,em0,match,pass,in,4,0x0,,64,37230,0,DF,6,tcp,64,10.0.0.221,10.0.0.1,58181,443,0,S,2777223674,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:21 filterlog[32051] 106,,,0,em0,match,pass,in,4,0x0,,64,46060,0,DF,6,tcp,64,10.0.0.221,10.0.0.1,58180,443,0,S,391641428,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:21 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,9600,0,DF,17,udp,76,83.150.6.16,195.186.1.101,34259,123,56
2021-03-18T22:04:20 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15435,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,8625,80,0,S,2928142443,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:20 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19206,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,24278,443,0,S,1767291962,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:20 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15428,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,44948,80,0,S,1307821345,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:20 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,59452,0,none,17,udp,48,83.150.6.16,54.39.182.217,6582,3478,28
2021-03-18T22:04:19 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,56252,0,DF,6,tcp,52,83.150.6.16,52.155.217.156,41065,443,0,S,1640842740,,65535,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:19 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,44325,0,none,17,udp,77,83.150.6.16,212.25.1.1,28953,53,57
2021-03-18T22:04:19 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15421,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,59160,80,0,S,869024798,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:19 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15415,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,12784,80,0,S,1849171159,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:18 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15409,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,62544,80,0,S,161666798,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:18 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,250,46986,0,none,6,tcp,40,89.248.165.51,217.71.252.184,52433,9889,0,S,3989138835,,1024,,
2021-03-18T22:04:18 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15402,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,20728,80,0,S,256349197,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:18 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15396,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,24120,80,0,S,1144032219,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:17 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15388,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,48171,80,0,S,1508203119,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:17 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15382,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,48957,80,0,S,1310058054,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:17 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15375,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,58227,80,0,S,104299183,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:17 filterlog[32051] 107,,,0,em1,match,pass,out,4,0xb8,,64,38258,0,none,17,udp,76,83.150.6.16,81.94.123.17,123,123,56
2021-03-18T22:04:17 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,243,24272,0,none,6,tcp,40,167.172.196.139,10.10.10.12,41444,22,0,S,2940379772,,1024,,
2021-03-18T22:04:17 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15369,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,23185,80,0,S,2887461935,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:16 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15362,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,46039,80,0,S,989286045,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:16 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19196,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,19825,443,0,S,1003626970,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:16 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15356,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,40614,80,0,S,444175405,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:16 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15346,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,47779,80,0,S,2292164279,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:16 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,15338,0,DF,6,tcp,52,83.150.6.16,92.123.16.55,14489,80,0,S,180312848,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:15 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,56844,0,DF,1,icmp,84,83.150.6.16,13.224.90.95,datalength=64
2021-03-18T22:04:15 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,23797,0,DF,17,udp,57,83.150.6.16,212.25.3.3,65261,53,37
2021-03-18T22:04:15 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,49127,0,DF,17,udp,57,83.150.6.16,212.25.1.1,64398,53,37
2021-03-18T22:04:15 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,19186,0,DF,6,tcp,52,83.150.6.16,52.114.76.34,53431,443,0,S,3903042360,,64240,,mss;nop;wscale;nop;nop;sackOK
2021-03-18T22:04:15 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,127,44324,0,none,17,udp,75,83.150.6.16,212.25.1.1,33542,53,55
2021-03-18T22:04:13 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,251,11789,0,none,6,tcp,40,35.205.46.98,83.150.6.16,41402,4040,0,S,777463765,,1024,,
2021-03-18T22:04:12 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,20241,0,none,17,udp,1378,83.150.6.16,172.217.194.94,30576,443,1358
2021-03-18T22:04:12 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,47163,0,none,17,udp,63,83.150.6.16,212.25.1.1,18505,53,43
2021-03-18T22:04:11 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,28635,0,none,17,udp,1378,83.150.6.16,172.217.168.46,57631,443,1358
2021-03-18T22:04:11 filterlog[32051] 17,,,0,em1,match,block,in,4,0x0,,115,9362,0,none,17,udp,112,188.146.132.63,217.71.252.185,52967,52960,92
2021-03-18T22:04:10 filterlog[32051] 107,,,0,em1,match,pass,out,4,0xb8,,64,56152,0,none,17,udp,76,83.150.6.16,84.31.225.166,123,123,56
2021-03-18T22:04:08 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,52134,0,none,17,udp,70,83.150.6.16,212.25.1.1,15654,53,50
2021-03-18T22:04:08 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,36988,0,DF,6,tcp,64,83.150.6.16,104.16.19.94,4708,443,0,S,2467279370,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
2021-03-18T22:04:08 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,48549,0,none,17,udp,1378,83.150.6.16,104.16.19.94,12614,443,1358
2021-03-18T22:04:08 filterlog[32051] 107,,,0,em1,match,pass,out,4,0x0,,63,51588,0,none,17,udp,66,83.150.6.16,212.25.1.1,53129,53,46