Answer the question
In order to leave comments, you need to log in
[[+content_image]]
Can OpenVPN change metrics in the routing table?
The other day I noticed that on one server the metric in the routing table has changed.
[[email protected] /home]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 ens33
10.8.50.0 10.8.50.2 255.255.255.0 UG 0 0 0 tun0
10.8.50.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
[[email protected]_50 rsync-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 ens33
10.8.50.0 10.8.50.2 255.255.255.0 UG 100 0 0 tun0
10.8.50.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
Answer the question
In order to leave comments, you need to log in
It is more appropriate to ask the question - "why change it and why this route does not suit you"? VPN is used either to taxi certain subnets through itself - and then, obviously, the routes to them should have a lower metric, or to taxi everything except the connection to the VPN server through itself - and then, again, its routes should have a lower metric than the existing ones .
It will be the same.
$array = array (
'текст 1',
'текст 2',
'текст 3',
'текст 4',
'текст 5'
);
var_dump($array);
/* array(5) {
[0] =>
string(12) "текст 1"
[1] =>
string(12) "текст 2"
[2] =>
string(12) "текст 3"
[3] =>
string(12) "текст 4"
[4] =>
string(12) "текст 5"
} */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question