Hi # iptables -t mangle -A PREROUTING -i tun1 -p tcp --syn -j CONNMARK --set-mark 71 # iptables -t mangle -A OUTPUT -p tcp -m connmark --mark 71 -j MARK --set-mark 71 > What about using the nat table to add your mark on a whole connection > instead of using the mangle table ? I just added: # iptables -t nat -A PREROUTING -i tun1 -p tcp --syn -j CONNMARK --set-mark 71 Nothing changed. However I believe that the original rule was used, because the counters (iptables -L -v) ARE incremented. Regards, Steffen
Attachment:
smime.p7s
Description: S/MIME cryptographic signature