Re: openvpn + routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



default route normally is

0.0.0.0/0

to overwrite default you can
- erase the existing an add the new one: this change is to do vice versa: an start up and shut down; so you need an installation dependend information about the default Gateway.

Alternativly you can add two routes:
0.0.0.0 netmask 128.0.0.0 and
128.0.0.0 netmask 128.0.0.0

then you have routes, that overwrites the existing default. You have only to add this specific routes on openvpn up and delete on openvpn down.


--
Viele Grüße
Helmut Drodofsky
Internet XS Service GmbH
Heßbrühlstraße 15
70565 Stuttgart
  Geschäftsführung
Dr.-Ing. Roswitha Hahn-Drodofsky
HRB 21091 Stuttgart
USt.ID: DE190582774
Tel. 0711 781941 0
Fax: 0711 781941 79
Mail: info@xxxxxxxxxxxxxx
www.internet-xs.de

Am 07.12.2015 um 18:29 schrieb John R Pierce:
On 12/7/2015 8:40 AM, m.roth@xxxxxxxxx wrote:
>there is one route missing:
>
>128.0.0.0/1.
>
Did you mean 127.0.0.0?

and I hope not /1 or that would encompass all networks with the first octet from 128-255




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux