Routing Problem?!

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
gustavson79
OpenVpn Newbie
Posts: 5
Joined: Thu Jan 31, 2019 2:39 pm

Routing Problem?!

Post by gustavson79 » Fri Oct 09, 2020 8:07 am

Hi,

i have a problem, i think its a routing problem. I have a openvpn server (on debian 10) using "server 10.8.0.0 255.255.255.0" in the server.conf file.

when i try to ping (from a "normal" client in my lan with 192.168.x.x) the server itself on 10.8.0.1 i get a response. When i try to ping a client in the vpn e.g 10.8.0.6 i dont get a response.

i have already added a static route to "10.8.0.0 255.255.255.0 over 192.168.x.x" (ip of my openvpn server), but ping doesnt work. Am i wrong with the static route settings or do i have configure something (iptables or something like this) on the beian server, so that the openvpn server routes the packets into the vpn network?`

Best regards,

jawr

Post Reply