On 08/11/2017 12:37 PM, D'Arcy Cain wrote:
I made this work on one NetBSD system but two machines on the local side
fail. One is a 7.1 server and the other is current.
ifconfig gre0 create
ifconfig gre0 10.255.255.1 10.255.255.2 netmask 255.255.255.252
ifconfig gre0 tunnel 207.35.13.14 98.158.139.79
The last line gives this error.
ifconfig: SIOCSLIFPHYADDR: Can't assign requested address
Both of those addresses are live, public addresses. I can ping either
one from the machine I am trying to use as the tunnel endpoint. Why
would this work on the remote side but not the local side?
Even after the error I am able to add a route to the remote network but,
of course, it doesn't work.
It turns out that I misunderstood the example. Both servers need to be
on the public Internet. In my case only the remote was.
Is there some way to do this? I can port forward but I suspect that
that won't work as it doesn't use TCP or UDP over the tunnel. I looked
at OpenVPN but that only allows individual hosts to connect. I am
trying to join two internal networks.
I can get a second IP address for my system but I need something that
works for other clients who may not have that option.
--
D'Arcy J.M. Cain <da...@netbsd.org>
http://www.NetBSD.org/ IM:da...@vex.net