Re: VPN - almost got it

2017-09-14 Thread D'Arcy Cain
On 09/13/2017 01:54 PM, Andy Ruhl wrote: On Wed, Sep 13, 2017 at 8:59 AM, D'Arcy Cain wrote: ifconfig tun0 create ifconfig tun0 10.0.0.1 10.0.0.2 netmask 0xfffc route add 10.0.0.2/32 10.0.0.1 # should this be necessary? route add 192.168.215.0/24 10.0.0.2 On the internal

Re: VPN - almost got it

2017-09-13 Thread Andy Ruhl
On Wed, Sep 13, 2017 at 8:59 AM, D'Arcy Cain wrote: > ifconfig tun0 create > ifconfig tun0 10.0.0.1 10.0.0.2 netmask 0xfffc > route add 10.0.0.2/32 10.0.0.1 # should this be necessary? > route add 192.168.215.0/24 10.0.0.2 > > On the internal machine I do this: > > ifconfig

Re: VPN - almost got it

2017-09-13 Thread gary
"D'Arcy Cain" wrote: => I am trying to set up a VPN between two NetBSD boxes, one of which has a => public address. Here is what I do on the public machine in rc.local: => => ifconfig tun0 create => ifconfig tun0 10.0.0.1 10.0.0.2 netmask 0xfffc => route add 10.0.0.2/32

VPN - almost got it

2017-09-13 Thread D'Arcy Cain
I am trying to set up a VPN between two NetBSD boxes, one of which has a public address. Here is what I do on the public machine in rc.local: ifconfig tun0 create ifconfig tun0 10.0.0.1 10.0.0.2 netmask 0xfffc route add 10.0.0.2/32 10.0.0.1 # should this be necessary? route add