1 |
On 02/13/15 20:44, Joseph wrote: |
2 |
>On 02/13/15 22:17, Michael Orlitzky wrote: |
3 |
>>On 02/13/2015 09:50 PM, Joseph wrote: |
4 |
>>> I have a hard time finding any documentation on how to print over VPN. |
5 |
>>> |
6 |
>>> I have a network printer and I would like to setup my laptop to print to it over VPN. |
7 |
>>> The remote VPN IP address is: 192.168.151.1 |
8 |
>>> The printer IP is: socket://10.0.0.105 |
9 |
>>> and lpd://10.0.0.106/BINARY_P1 |
10 |
>>> |
11 |
>>> I think I need some entries in VPN config files isn't it? |
12 |
>>> |
13 |
>> |
14 |
>>Does the VPN server also have a 10.0.0.x address? If so, you just need |
15 |
>>to tell the VPN clients that they can reach the 10.0.0.x network via the |
16 |
>>VPN, i.e. by routing through your VPN server. |
17 |
>> |
18 |
>>We have pretty much the same setup, with our VPN server sitting on |
19 |
>>10.1.1.1 with some other private IP address. This is the client config |
20 |
>>for the OpenVPN server: |
21 |
>> |
22 |
>> # cat /etc/openvpn/client-config/DEFAULT |
23 |
>> push "route 10.1.1.0 255.255.255.0" |
24 |
>> |
25 |
>>Then you point to that in openvpn.conf (also on the server): |
26 |
>> |
27 |
>> # grep client-config /etc/openvpn/openvpn.conf |
28 |
>> client-config-dir client-config |
29 |
>> |
30 |
>>After that, any new client connections will just know that 10.1.1.x can |
31 |
>>be reached over the VPN. |
32 |
> |
33 |
>Thank for replying. |
34 |
> |
35 |
>My eeepc VPN IP: 192.168.151.9 is the client connected over VPN to server VPN IP 192.168.151.1 |
36 |
> |
37 |
>So I inserted on eeepc (client) to /etc/openvpn/eeepc.conf |
38 |
>... |
39 |
> push "route 192.168.151.0 255.255.255.0" |
40 |
> |
41 |
>On a server 192.168.151.1 I have file: |
42 |
>/etc/openvpn/server.conf |
43 |
>/etc/openvpn/ccd/eeepc |
44 |
> |
45 |
>in /etc/openvpn/ccd/eeepc is: |
46 |
>ifconfig-push 192.168.151.9 255.255.255.0 |
47 |
> |
48 |
>Do I add to "eeepc" |
49 |
>client-config-dir ??? |
50 |
> |
51 |
>Which file on a server do I modify? |
52 |
|
53 |
One more question. |
54 |
|
55 |
Do I modify on a client eeepc file: |
56 |
|
57 |
/etc/cups/client.conf |
58 |
|
59 |
and add: |
60 |
ServerName 192.168.151.1:631 |
61 |
|
62 |
-- |
63 |
Joseph |