[CentOS] openvpn + routing

Tue Dec 8 17:15:29 UTC 2015
Helmut Drodofsky <drodofsky at internet-xs.de>

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 at internet-xs.de
www.internet-xs.de

Am 07.12.2015 um 18:29 schrieb John R Pierce:
> On 12/7/2015 8:40 AM, m.roth at 5-cent.us 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
>
>