I have one OpernVPN server having 10.8.0.1 as vpn IP. I want to connect some devices from a remote location to that vpn server without doing NAT. I configured Microtik router DHCP server to offer IP addresses from 10.8.0.50 to 10.8.0.59 with NAT disabled.
I can see using WinBox and log that connection get established and 10.8.0.6 is offered to Microtik router. I can ping 10.8.0.1 from Mikrotik ping tool but I am not able to ping from a device behind the router having 10.8.0.59.
I think I missed to add any rule, but I don’t know which. Do you have any idea where the problem is?
Do you have the OpenVPN setup in Bridging mode? That would be the easiest way to set that up. On the server side, put your LAN segment in a Bridge and add the bridge to the OVPN profile. The OVPN server should be set to Ethernet. The other side will be pretty much the same, although it may or may not have any other interfaces in its bridge.
Trying to set up a more simple scenario I reseted factory the router, I reconfigured openvpn connection and I added one rule to masquerade traffic to vpn server. That config work.
Next step, I’ll try to do the routing without NAT having 192.168.88.0/24 as local network and 10.8.0.0./24 as vpn network.. I delete the masquerading rule for vpn traffic and then the it doesn’t reach to the vpn server.
No, I think is a client side misscounfiguration as I can see no icmp packets received using tcpdump. Adding the route you suggest doesn’t work. Now, vpn server route table is:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 94.94.94.94 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
94.23.196.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.88.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0