From 0770dee8d5ab20b5ac26d3ae7e1dde881cf7b53e Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 28 Nov 2022 17:14:07 +0300 Subject: [PATCH] wireguard-iproute docs: xmark -> mark --- docs/wireguard/wireguard_iproute_openwrt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wireguard/wireguard_iproute_openwrt.txt b/docs/wireguard/wireguard_iproute_openwrt.txt index 880d528..895ef99 100644 --- a/docs/wireguard/wireguard_iproute_openwrt.txt +++ b/docs/wireguard/wireguard_iproute_openwrt.txt @@ -445,7 +445,7 @@ ipt postrouting_tunvps_rule -t nat -m mark --mark 0x1000/0x1000 -j MASQUERADE # incoming from wgvps network_get_device DEVICE wgvps ipt PREROUTING -t mangle ! -i $DEVICE -j CONNMARK --restore-mark --nfmask 0x800 --ctmask 0x800 -ipt PREROUTING -t mangle -i $DEVICE -m conntrack --ctstate NEW -j CONNMARK --set-xmark 0x800/0x800 +ipt PREROUTING -t mangle -i $DEVICE -m conntrack --ctstate NEW -j CONNMARK --set-mark 0x800/0x800 ------------------------------------------------ # /etc/init.d/firewall restart