Hi all
WINDOWS VPN client have address 10.8.0.4 for example
ROUTER as VPN client have address 10.8.0.8 and lan subnet 192.168.4.0/24
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default x.x.x.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
x.x.x.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
ON VPN server is route table horap
ip rule show
0: from all lookup local
32764: from 10.8.0.4 lookup horap
32765: from all to 10.8.0.4 lookup horap
32766: from all lookup main
32767: from all lookup default
ip route show table horap
default via 10.8.0.8 dev tun0
192.168.4.0/24 via 10.8.0.8 dev tun0
ip -s route get 192.168.4.1 from 10.8.0.4 iif tun0
192.168.4.1 from 10.8.0.4 via 10.8.0.8 dev tun0 table horap
cache users 1 age 4056sec iif tun0
But tracert is end on 10.8.0.1 (VPN SERVER IP)
THX for help