Can someone explain to me why exactly some examples mangle connections and then mangle packets...? Why not mangle packets alone...?
Example:
why this
Code: Select all
add chain=prerouting protocol=tcp dst-port=80 action=mark-connection \
new-connection-mark=http_conn passthrough=yes
add chain=prerouting connection-mark=http_conn action=mark-packet \
new-packet-mark=http passthrough=no
Code: Select all
add chain=prerouting protocol=tcp dst-port=80 action=mark-packet \
new-packet-mark=http passthrough=no