Routing IP traffic from client through server openvpn tunnel?
Ultima
ultima1252 at gmail.com
Sat Jul 4 19:11:11 UTC 2020
This probably means there are missing routes on the other side (your sons
gateway system) and packets traveling there don't know how to get back.
The reason packets can get back on your gateway system is because it is
using the source ip of the tunnel which is the only known ip the other
gateway
knows.
The other workaround would be to setup nating on your side, but I would
recommend against this if avoidable.
Best regards,
Richard Gallamore
On Sat, Jul 4, 2020 at 6:36 AM Bob Willcox <bob at immure.com> wrote:
> My FreeBSD gateway system has an openvpn tunnel connected to my Son's
> network
> and when logged into the gateway system we can access his network throught
> the
> tunnel just fine. But from other systems in my network it doesn't work. The
> packets get over to the gateway system (maul) but no further.
>
> This is the routing table on my gateway system:
>
> Internet:
> Destination Gateway Flags Netif Expire
> default 108.84.10.14 UGS igb0
> 10.1.132.0/23 link#2 U em0
> 10.1.132.1 link#2 UHS lo0
> 10.4.0.1 link#4 UH tun0
> 10.4.0.2 link#4 UHS lo0
> 108.84.10.8/29 link#1 U igb0
> 108.84.10.9 link#1 UHS lo0
> 108.84.10.13 link#1 UHS lo0
> 127.0.0.1 link#3 UH lo0
> 192.168.2.0/24 10.4.0.1 UGS tun0
>
> Here's a traceroute from the gateway system:
>
> bob at maul:2> traceroute 192.168.2.19
> traceroute to 192.168.2.19 (192.168.2.19), 64 hops max, 40 byte packets
> 1 coovas.knighthammer.com (10.4.0.1) 55.347 ms 53.420 ms 55.786 ms
> 2 192.168.2.19 (192.168.2.19) 50.291 ms 48.516 ms 55.858 ms
>
> And here is one from one of my other systems:
>
> bob at han:1> traceroute 192.168.2.19
> traceroute to 192.168.2.19 (192.168.2.19), 64 hops max, 40 byte packets
> 1 maul (10.1.132.1) 0.261 ms 0.256 ms 0.244 ms
> 2 * * *
> 3 * * *
>
> So my question is, what am I missing (likely on the gateway system) that
> would
> prevent the packets from other systems being routed to the tunnel?
>
> Thanks for any help,
> Bob
>
> --
> Bob Willcox | It's possible that the whole purpose of your life is to
> bob at immure.com | serve as a warning to others.
> Austin, TX |
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list