iptables | skybert.net

iptables


tuxbrewer

This is a simple way of logging all new outgoing TCP connections:

# iptables \
  --append OUTPUT \
  --match state \
  --protocol tcp \
  --state NEW \
  -j LOG \
  --log-uid

Licensed under CC BY Creative Commons License ~ gmail torstein.k.johansen @ gmail ~ twitter @torsteinkrause ~