User Tools

Site Tools


sysadmin_misc:conntrack

Conntrack

Clean all states that match a query : conntrack -L conntrack -p tcp –orig-dport 65372| while read _ _ _ _ src dst sport dport _; do conntrack -D conntrack –proto tcp –orig-src ${src#*=} –orig-dst ${dst#*=} –sport ${sport#*=} –dport ${dport#*=}; done

sysadmin_misc/conntrack.txt · Last modified: 2018/09/25 15:00 (external edit)