On 02/13/2015 09:50 PM, Joseph wrote:
> I have a hard time finding any documentation on how to print over VPN.
> 
> I have a network printer and I would like to setup my laptop to print to it 
> over VPN.
> The remote VPN IP address is: 192.168.151.1
> The printer IP is: socket://10.0.0.105
> and lpd://10.0.0.106/BINARY_P1
> 
> I think I need some entries in VPN config files isn't it?
> 

Does the VPN server also have a 10.0.0.x address? If so, you just need
to tell the VPN clients that they can reach the 10.0.0.x network via the
VPN, i.e. by routing through your VPN server.

We have pretty much the same setup, with our VPN server sitting on
10.1.1.1 with some other private IP address. This is the client config
for the OpenVPN server:

  # cat /etc/openvpn/client-config/DEFAULT
  push "route 10.1.1.0 255.255.255.0"

Then you point to that in openvpn.conf (also on the server):

  # grep client-config /etc/openvpn/openvpn.conf
  client-config-dir client-config

After that, any new client connections will just know that 10.1.1.x can
be reached over the VPN.


Reply via email to