Re: What's changing the default route?

2017-07-03 Thread Mihai Popescu
> What could be causing the routing table to spontaneously change in this > manner without my intervention? If one can be sure that /sbin/route is invoked, you can alter this file name and make a script with this path where you can print other names or information about who is calling this. I'm n

Re: What's changing the default route?

2017-07-02 Thread Claudio Jeker
On Sun, Jul 02, 2017 at 08:27:36AM +, Stuart Henderson wrote: > On 2017-07-01, Claudio Jeker wrote: > > On Sat, Jul 01, 2017 at 04:48:05PM +0200, tonypon...@mail.com wrote: > >> I use an ssh tunnel for a VPN on OpenBSD 6.1. To initiate the VPN > >> connection, I type the following on the loca

Re: What's changing the default route?

2017-07-02 Thread Stuart Henderson
On 2017-07-01, Claudio Jeker wrote: > On Sat, Jul 01, 2017 at 04:48:05PM +0200, tonypon...@mail.com wrote: >> I use an ssh tunnel for a VPN on OpenBSD 6.1. To initiate the VPN >> connection, I type the following on the local machine >> >> # ssh -f -w 0:1 R true >> # ifconfig tun0 10.1.1.1 10.1

Re: What's changing the default route?

2017-07-01 Thread Claudio Jeker
On Sat, Jul 01, 2017 at 04:48:05PM +0200, tonypon...@mail.com wrote: > I use an ssh tunnel for a VPN on OpenBSD 6.1. To initiate the VPN > connection, I type the following on the local machine > > # ssh -f -w 0:1 R true > # ifconfig tun0 10.1.1.1 10.1.1.2 netmask 255.255.255.252 > # route add

What's changing the default route?

2017-07-01 Thread tonypony76
I use an ssh tunnel for a VPN on OpenBSD 6.1. To initiate the VPN connection, I type the following on the local machine # ssh -f -w 0:1 R true # ifconfig tun0 10.1.1.1 10.1.1.2 netmask 255.255.255.252 # route add R G # route change default 10.1.1.2 where R is the IP address of the remote ser