Article 4T639 Cant ping eth0 behind openvpn tunnel

Cant ping eth0 behind openvpn tunnel

by
prognoob
from LinuxQuestions.org on (#4T639)
Hello guys,

I have two servers connected with each other by an openvpn tunnel.
I can establish the tunnel and i can ping from one tun interface to the other.

Setup:

Server: Client:
eth0:192.168.4.1 ---Router(Gw for eth0):192.168.4.2--- ---Router(Gw for eth0):192.168.8.1--- eth0:192.168.8.2
tun0:10.100.0.1 tun0:10.100.0.2

The tun0 can ping each other.
The ping -I tun0 192.168.4.1 is working!(From client tun0 to server eth0)
I want the same to work form the server to the client.
ping -I tun0 192.168.8.2 is not working.(From server tun0 to client eth0)
How can i make the last ping work?

Routing tables:

Client:
Quote:
cumulus@cumulus:~$ ip route
default via 192.168.8.1 dev eth0 proto kernel
10.100.0.1 via 255.255.255.255 dev tun110
192.168.8.0/24 dev eth0 proto kernel scope link src 192.168.8.2
255.255.255.255 dev tun110 proto kernel scope link src 10.100.0.2
Server:
Quote:
cumulus@cumulus:/etc/openvpn$ ip route
default via 192.168.4.2 dev eth0 proto kernel
10.100.0.0/16 via 10.100.0.2 dev tun0
10.100.0.2 dev tun0 proto kernel scope link src 10.100.0.1
192.168.4.0/24 dev eth0 proto kernel scope link src 192.168.4.1


Iam trying this by editing the routing table for some days now and the solution is pretty simple i guess but i cant make it work, please help me ^^latest?d=yIl2AUoC8zA latest?i=_y_kLkT0xtk:2uR4VpHCwYE:F7zBnMy latest?i=_y_kLkT0xtk:2uR4VpHCwYE:V_sGLiP latest?d=qj6IDK7rITs latest?i=_y_kLkT0xtk:2uR4VpHCwYE:gIN9vFw_y_kLkT0xtk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments