I am having an unusual issue with my site to site VPN. I've added two additional routes to push to the client-side in the server configuration and bounced the server. I can see logs on both server-side/client-side that the newly added routes were pushed to the client. However the client doesn't add them to its kernel routing table.. If I add the static routes manually everything works as expected.
Both server and client are running Debian GNU/Linux 8.9 (jessie) with OpenVPN 2.3.4-5+deb8u2
Got any ideas?
Newly added routes to site to site VPN aren't added to client routing table
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jan 09, 2018 6:49 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jan 09, 2018 6:49 pm
Re: Newly added routes to site to site VPN aren't added to client routing table
My apologies for the vague post.
Disregard. I found the issue.
Noticed this log after the route was pushed to the client.
Reviewed the server configuration and found a typo in the two newly added route push commands
instead of
Thanks anyways.
Disregard. I found the issue.
Noticed this log after the route was pushed to the client.
Code: Select all
Options error: route parameter gateway 'vpn-gateway' must be a valid address
Code: Select all
push "route *.*.*.* 255.255.255.0 vpn-gateway 10"
Code: Select all
push "route *.*.*.* 255.255.255.0 vpn_gateway 10"
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Newly added routes to site to site VPN aren't added to client routing table
Thanks for letting us know your solution