论坛徽章: 0
2 可用积分
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0e:1f:01:13:3c
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::20e:1fff:fe01:133c%rl0 prefixlen 64 scopeid 0x1
ne3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:40:26:5f:4d:9a
media: Ethernet autoselect (10baseT)
inet 192.168.188.1 netmask 0xffffff00 broadcast 192.168.188.255
inet6 fe80::240:26ff:fe5f:4d9a%ne3 prefixlen 64 scopeid 0x2
pflog0: flags=0<> mtu 33224
enc0: flags=0<> mtu 1536
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1488
groups: tun egress
inet 192.168.135.234 --> 10.5.5.5 netmask 0xffffffff
复制代码
# pfctl -sa
TRANSLATION RULES:
nat on tun0 inet from 192.168.188.0/24 to any -> (tun0) round-robin
FILTER RULES:
scrub in all fragment reassemble
pass in quick all flags S/SA keep state
pass out quick all flags S/SA keep state
No queue in use
STATES:
all udp 255.255.255.255:5678 <- 192.168.0.25:5678 NO_TRAFFIC:SINGLE
all udp 192.255.255.255:138 <- 192.168.18.79:138 NO_TRAFFIC:SINGLE
all udp 192.168.18.255:138 <- 192.168.18.222:138 NO_TRAFFIC:SINGLE
all tcp 220.181.29.154:80 <- 192.168.188.8:1156 CLOSED:SYN_SENT
all tcp 192.168.188.8:1156 -> 192.168.135.234:53878 -> 220.181.29.154:80 ESTABLISHED:SYN_SENT
all udp 192.168.18.255:138 <- 192.168.18.111:138 NO_TRAFFIC:SINGLE
all udp 192.168.255.255:138 <- 192.168.18.170:138 NO_TRAFFIC:SINGLE
all udp 192.168.18.255:138 <- 192.168.18.1:138 NO_TRAFFIC:SINGLE
all udp 192.255.255.255:137 <- 192.168.18.3:137 NO_TRAFFIC:SINGLE
all tcp 202.108.22.46:80 <- 192.168.188.8:1157 CLOSED:SYN_SENT
all tcp 192.168.188.8:1157 -> 192.168.135.234:50692 -> 202.108.22.46:80 ESTABLISHED:SYN_SENT
all icmp 61.144.56.100:512 <- 192.168.188.8 0:0
all udp 192.255.255.255:138 <- 192.168.18.117:138 NO_TRAFFIC:SINGLE
all udp 192.255.255.255:138 <- 192.168.18.72:138 NO_TRAFFIC:SINGLE
all udp 192.255.255.255:137 <- 192.168.18.72:137 NO_TRAFFIC:SINGLE
all udp 192.168.18.255:137 <- 192.168.18.199:137 NO_TRAFFIC:SINGLE
INFO:
Status: Enabled for 0 days 00:18:59 Debug: Urgent
State Table Total Rate
current entries 16
searches 7255 6.4/s
inserts 577 0.5/s
removals 561 0.5/s
Counters
match 4330 3.8/s
bad-offset 0 0.0/s
fragment 0 0.0/s
short 0 0.0/s
normalize 0 0.0/s
memory 0 0.0/s
bad-timestamp 0 0.0/s
congestion 0 0.0/s
ip-option 0 0.0/s
proto-cksum 0 0.0/s
state-mismatch 265 0.2/s
state-insert 0 0.0/s
state-limit 0 0.0/s
src-limit 0 0.0/s
synproxy 0 0.0/s
TIMEOUTS:
tcp.first 120s
tcp.opening 30s
tcp.established 86400s
tcp.closing 900s
tcp.finwait 45s
tcp.closed 90s
tcp.tsdiff 30s
udp.first 60s
udp.single 30s
udp.multiple 60s
icmp.first 20s
icmp.error 10s
other.first 60s
other.single 30s
other.multiple 60s
frag 30s
interval 10s
adaptive.start 6000 states
adaptive.end 12000 states
src.track 0s
LIMITS:
states hard limit 10000
src-nodes hard limit 10000
frags hard limit 5000
tables hard limit 1000
table-entries hard limit 200000
TABLES:
OS FINGERPRINTS:
696 fingerprints loaded
#
复制代码
-------------------------------------
D:\>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.188.8
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.188.1
D:\>
复制代码
我来回答