2015-11-06 13:20:06 +00:00
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
-m mac \
|
|
|
|
--mac-source 01:02:03:04:05:06 \
|
|
|
|
--destination 10.1.2.3/32 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 2 \
|
|
|
|
-m state \
|
|
|
|
--state NEW,ESTABLISHED \
|
|
|
|
-j RETURN
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FP-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
--source 10.1.2.3/32 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 2 \
|
|
|
|
-m state \
|
|
|
|
--state ESTABLISHED \
|
|
|
|
-j ACCEPT
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A HJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
-m mac \
|
|
|
|
--mac-source 01:02:03:04:05:06 \
|
|
|
|
--destination 10.1.2.3/32 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 2 \
|
|
|
|
-m state \
|
|
|
|
--state NEW,ESTABLISHED \
|
|
|
|
-j RETURN
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
--destination 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state ESTABLISHED \
|
|
|
|
-j RETURN
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FP-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
-m mac \
|
|
|
|
--mac-source 01:02:03:04:05:06 \
|
|
|
|
--source 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state NEW,ESTABLISHED \
|
|
|
|
-j ACCEPT
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A HJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
--destination 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state ESTABLISHED \
|
|
|
|
-j RETURN
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
--destination 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state ESTABLISHED \
|
|
|
|
-j RETURN
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A FP-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
-m mac \
|
|
|
|
--mac-source 01:02:03:04:05:06 \
|
|
|
|
--source 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state NEW,ESTABLISHED \
|
|
|
|
-j ACCEPT
|
|
|
|
iptables \
|
2020-11-17 00:20:53 +00:00
|
|
|
-w \
|
2015-11-06 13:20:06 +00:00
|
|
|
-A HJ-vnet0 \
|
|
|
|
-p ah \
|
|
|
|
--destination 10.1.2.3/22 \
|
|
|
|
-m dscp \
|
|
|
|
--dscp 33 \
|
|
|
|
-m state \
|
|
|
|
--state ESTABLISHED \
|
|
|
|
-j RETURN
|