updated default route
This commit is contained in:
parent
a7c519674c
commit
fc44f65e07
@ -167,8 +167,6 @@ class Config:
|
||||
f"Domains={self.default_domain} {' '.join(str(domain) for domain in self.search_domains)}\n",
|
||||
"[Route]\n",
|
||||
"Gateway=0.0.0.0\n",
|
||||
"GatewayOnLink=yes\n",
|
||||
"Type=global\n",
|
||||
"Metric=64\n",
|
||||
f"Table={self.split_enforcement_table if self.vpnd_enforce_split_tunnel else 'main'}\n",
|
||||
]
|
||||
@ -184,8 +182,6 @@ class Config:
|
||||
f"Priority={self.routingpolicyrule_prio}\n",
|
||||
]
|
||||
)
|
||||
for net in self.split_tunnel_inclusions:
|
||||
self.write_route(stream, net)
|
||||
if self.vpnd_enforce_split_tunnel:
|
||||
# configure exclusions after inclusions. inclusions don't make sense without this, since they'd just be captured by the default.
|
||||
for net in self.split_tunnel_exclusions:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user