pass in log quick on em0 reply-to ( em0 174.100.64.1 ) inet proto tcp from {any} to {(self)} port {22} keep state label "c82dc16f4641fbf2db9fffa867fb1332" # : TEST2pass in log quick on em0 reply-to ( em0 fe80::201:5cff:fe8d:9c46 ) inet6 proto tcp from {any} to {(self)} port {22} keep state label "c82dc16f4641fbf2db9fffa867fb1332" # : TEST2
root@opnsense:/home/chenxiaolong # netstat -nr | grep defaultdefault 174.100.64.1 UGS em0default fe80::201:5cff:fe8d:9c46%em0 UG em0
root@opnsense:/home/chenxiaolong # curl --fail -4 https://www.example.com -o /dev/null -sS; echo $?0root@opnsense:/home/chenxiaolong # curl --fail -6 https://www.example.com -o /dev/null -sS; echo $?0
root@opnsense:/home/chenxiaolong # ping -c 1 174.100.64.1PING 174.100.64.1 (174.100.64.1): 56 data bytes64 bytes from 174.100.64.1: icmp_seq=0 ttl=255 time=23.105 ms--- 174.100.64.1 ping statistics ---1 packets transmitted, 1 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 23.105/23.105/23.105/0.000 ms
root@opnsense:/home/chenxiaolong # ping6 -c 1 fe80::201:5cff:fe8d:9c46%em0PING6(56=40+8+8 bytes) fe80::7285:c2ff:fecd:bcf5%em0 --> fe80::201:5cff:fe8d:9c46%em0ping6: sendmsg: No route to hostping6: wrote fe80::201:5cff:fe8d:9c46%em0 16 chars, ret=-1--- fe80::201:5cff:fe8d:9c46%em0 ping6 statistics ---1 packets transmitted, 0 packets received, 100.0% packet loss