Answer the question
In order to leave comments, you need to log in
What is the correct way to get the connection marker ( -j CONNMARK --restore-mark)?
There is a server distributing network 192.168.2.0/24
It has an openvpn connection, network 10.8.1.0/24
eth0 192.168.2.1
tun0 10.8.1.6 I am
marking connections for a specific ip of the local network
iptables -I FORWARD -m conntrack --ctorigsrc 192.168.2.11 --ctproto tcp -j CONNMARK --set-mark 99
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question