mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
1e86c83308
Let's make sure these take preference over any generic network config files shipped by the OS (in this case specifically, mkosi).
35 lines
442 B
SYSTEMD
35 lines
442 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Match]
|
|
Name=test1
|
|
|
|
[Network]
|
|
IPv6AcceptRA=no
|
|
|
|
# fwmark
|
|
[RoutingPolicyRule]
|
|
Table=1011
|
|
Family=ipv4
|
|
Priority=10111
|
|
FirewallMark=1011
|
|
|
|
# oif
|
|
[RoutingPolicyRule]
|
|
Table=1011
|
|
Family=ipv4
|
|
Priority=10112
|
|
OutgoingInterface=test1
|
|
|
|
# iif
|
|
[RoutingPolicyRule]
|
|
Table=1011
|
|
Family=both
|
|
Priority=10113
|
|
IncomingInterface=test1
|
|
|
|
# source
|
|
[RoutingPolicyRule]
|
|
Table=1011
|
|
Family=ipv4
|
|
Priority=10114
|
|
From=192.168.8.254
|