mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-30 19:38:08 +03:00
bsd: use not diverted filter for incoming traffic also
This commit is contained in:
@@ -515,7 +515,7 @@ pktws_ipt_prepare()
|
||||
|
||||
IPFW_ADD divert $IPFW_DIVERT_PORT tcp from me to any $1 proto ip${IPV} out not diverted not sockarg
|
||||
# for autottl mode
|
||||
IPFW_ADD divert $IPFW_DIVERT_PORT tcp from any $1 to me proto ip${IPV} tcpflags syn,ack in
|
||||
IPFW_ADD divert $IPFW_DIVERT_PORT tcp from any $1 to me proto ip${IPV} tcpflags syn,ack in not diverted not sockarg
|
||||
;;
|
||||
opf)
|
||||
opf_prepare_dvtws $1
|
||||
|
||||
Reference in New Issue
Block a user