1 |
Jens Gassmann schrieb: |
2 |
> Hallo liebe Gentoo-Mitbenutzer, |
3 |
> |
4 |
> ich probiere gerade ein kleines VPN auf Basis von openvpn einzurichten. |
5 |
[...] |
6 |
> |
7 |
> Was mache ich falsch, wie bekomme ich raus warum das Routing zum Client |
8 |
> hängt? Ich würde gerne aus dem Servernetzwerk auf die Clients erreichen |
9 |
> können! |
10 |
|
11 |
Schau dir mal die Beispiel Konfigurationsdatei unter |
12 |
|
13 |
http://openvpn.net/howto.html#examples |
14 |
|
15 |
an. Der für dich interessante Teil ist wohl dieser: |
16 |
|
17 |
---snip--- |
18 |
# To assign specific IP addresses to specific |
19 |
# clients or if a connecting client has a private |
20 |
# subnet behind it that should also have VPN access, |
21 |
# use the subdirectory "ccd" for client-specific |
22 |
# configuration files (see man page for more info). |
23 |
|
24 |
# EXAMPLE: Suppose the client |
25 |
# having the certificate common name "Thelonious" |
26 |
# also has a small subnet behind his connecting |
27 |
# machine, such as 192.168.40.128/255.255.255.248. |
28 |
# First, uncomment out these lines: |
29 |
#;client-config-dir ccd |
30 |
#;route 192.168.40.128 255.255.255.248 |
31 |
# Then create a file ccd/Thelonious with this line: |
32 |
# iroute 192.168.40.128 255.255.255.248 |
33 |
# This will allow Thelonious' private subnet to |
34 |
# access the VPN. This example will only work |
35 |
# if you are routing, not bridging, i.e. you are |
36 |
# using "dev tun" and "server" directives. |
37 |
---end of snip--- |
38 |
|
39 |
Ich weiß nicht, ob du unbedingt den Umweg über das ccd file machen |
40 |
musst. Da schau am besten in der man-page mal nach. Aber route und |
41 |
iroute sollten deine Optionen sein. |
42 |
|
43 |
Grüße |
44 |
Marc |
45 |
|
46 |
-- |
47 |
gentoo-user-de@g.o mailing list |