Commit 38e5d6be authored by nanahira's avatar nanahira

add gwmark

parent 4712d6be
......@@ -2,9 +2,7 @@
Address = {{address}}
PrivateKey = {{key}}
ListenPort = {{conn.localPort}}
{% if gwmark is defined %}
FwMark = {{conn.localGatewayMark}}
{% endif %}
MTU = {{conn.mtu|int - 80}}
Table = off
{% if dns != "" and (inventory_hostname_short == "103" and conn.name == "mc-drjin" or inventory_hostname_short == "218" and conn.name != "mc-drjin") %}
......
......@@ -4,9 +4,7 @@ PrivateKey = {{key}}
{% if conn.frpType == "frpc" %}
ListenPort = {{conn.localPort}}
{% endif %}
{% if gwmark is defined %}
FwMark = {{conn.localGatewayMark}}
{% endif %}
MTU = {{conn.mtu|int - 80}}
Table = off
{% if dns != "" and (inventory_hostname_short == "103" and conn.name == "mc-drjin" or inventory_hostname_short == "218" and conn.name != "mc-drjin") %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment