Seeing Private networks behind the vpn

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
najibnour
OpenVpn Newbie
Posts: 3
Joined: Mon Oct 22, 2018 2:45 pm

Seeing Private networks behind the vpn

Post by najibnour » Mon Oct 22, 2018 2:49 pm

Hello i am looking to configuer my openvpn server on my linux machine the host has a public facing ip and a private facing ip, when the client connects i want the client to only have access to the 10.10.0.0/16 network but weather i do or dont push the route "push "route 10.10.0.0 255.255.0.0 10.0.0.1 1"" to the client ccd it still has access to the 10.10.10.1 server as i have a return route for it is there anyway to limit that so only that client can route to that specific server?

thanks

najibnour
OpenVpn Newbie
Posts: 3
Joined: Mon Oct 22, 2018 2:45 pm

Re: Seeing Private networks behind the vpn

Post by najibnour » Mon Oct 22, 2018 2:51 pm

i was able to acomplish this with the gui version of openvpn but not the straight terminal version

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Seeing Private networks behind the vpn

Post by TinCanTech » Mon Oct 22, 2018 3:40 pm


najibnour
OpenVpn Newbie
Posts: 3
Joined: Mon Oct 22, 2018 2:45 pm

Seeing Private networks behind the vpn

Post by najibnour » Mon Oct 22, 2018 3:43 pm

Hello i am looking to configuer my openvpn server on my linux machine the host has a public facing ip and a private facing ip, when the client connects i want the client to only have access to the 10.10.0.0/16 network but weather i do or dont push the route "push "route 10.10.0.0 255.255.0.0 10.0.0.1 1"" to the client ccd it still has access to the 10.10.10.1 server as i have a return route for it is there anyway to limit that so only that client can route to that specific server?

i was able to acomplish this with the gui version of openvpn but not the straight terminal version

Post Reply