Openvpn route to eth1

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
douglasn27
OpenVpn Newbie
Posts: 1
Joined: Wed Aug 23, 2017 8:13 pm

Openvpn route to eth1

Post by douglasn27 » Thu Aug 24, 2017 11:15 am

Hello! I have a vpn with the following settings:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.17.17 10.77.208.57 255.255.255.255 UGH 0 0 0 tun0
10.77.208.57 * 255.255.255.255 UH 0 0 0 tun0
10.77.208.1 10.77.208.57 255.255.255.255 UGH 0 0 0 tun0
189.2.92.64 * 255.255.255.248 U 0 0 0 eth0
10.77.216.88 * 255.255.255.248 U 0 0 0 eth1
Link-local * 255.255.0.0 U 1002 0 0 eth0
Link-local * 255.255.0.0 U 1003 0 0 eth1
Default 189.2.92.69 0.0.0.0 UG 0 0 0 eth0

I get packets from the address 192.168.17.17 for my ip 10.77.216.89 that is in eth1, how do I create a route for these two to communicate?

The packet is forwarded, but it goes unanswered.

07: 42: 19.739905 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 14
07: 42: 26.608427 IP 192.168.17.17.iax> 10.77.216.89.iax: UDP, length 14
07: 42: 26.608614 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 12
07: 42: 27.107708 IP 192.168.17.17.iax> 10.77.216.89.iax: UDP, length 14
07: 42: 27.107780 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 12
07: 42: 32.107120 IP 192.168.17.17.iax> 10.77.216.89.iax: UDP, length 14
07: 42: 32.107204 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 12
07: 42: 32.573411 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 14
07: 42: 33.072594 IP 10.77.208.58.iax> 192.168.17.17.iax: UDP, length 14

Thank you very much in advance! : D :D :D

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: Openvpn route to eth1

Post by novaflash » Fri Sep 15, 2017 11:51 am

Well if the packet gets forwarded then the problem is not in this system, but somewhere outside of it. Probably the target system receiving the packet has no clue how to respond to an IP with source IP in 192.168.17.something range. Probably a route missing somewhere.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

Post Reply