» »

OpenVPN hostname

OpenVPN hostname

Karlos ::

Mogoče kdo ve kako bi dobil seznam vseh hostnamov, ki so povezani preko OpenVPN-ja oz. kako bi jih lahko ping-al po imenu računalnika?
Sai Baba: "Dam vam to, kar hočete, da boste hoteli to, kar vam želim dati."

Karlos ::

Vakemu klientu bi rad dodelil statični IP.

V server.config sem dodal
client-config-dir /usr/local/etc/openvpn/ccd

v to map pa v datoteko user1

#ifconfig-push clientIP serverIP
ifconfig-push 10.8.0.60 10.8.0.1

Vendar dobim napako:
There is a problem in your selection of --ifconfig endpoints [local=10.8.0.60, remote=10.8.0.1]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.


Če spremenim user1 v
ifconfig-push 10.8.0.2 10.8.0.1

potem stvar dela.

Če OpenVPN dodeli naslov preko svojega DHCP-ja dodeli naslove tudi 10.8.0.10 in višje, tako da res ne razumem zakaj naj bi bila omejitev v --dev tun?
Sai Baba: "Dam vam to, kar hočete, da boste hoteli to, kar vam želim dati."

Karlos ::

Treba se je držat tele tabelce, potem pa dela :)

[ 1, 2] [ 5, 6] [ 9, 10] [ 13, 14] [ 17, 18]
[ 21, 22] [ 25, 26] [ 29, 30] [ 33, 34] [ 37, 38]
[ 41, 42] [ 45, 46] [ 49, 50] [ 53, 54] [ 57, 58]
[ 61, 62] [ 65, 66] [ 69, 70] [ 73, 74] [ 77, 78]
[ 81, 82] [ 85, 86] [ 89, 90] [ 93, 94] [ 97, 98]
[101,102] [105,106] [109,110] [113,114] [117,118]
[121,122] [125,126] [129,130] [133,134] [137,138]
[141,142] [145,146] [149,150] [153,154] [157,158]
[161,162] [165,166] [169,170] [173,174] [177,178]
[181,182] [185,186] [189,190] [193,194] [197,198]
[201,202] [205,206] [209,210] [213,214] [217,218]
[221,222] [225,226] [229,230] [233,234] [237,238]
[241,242] [245,246] [249,250] [253,254]
Sai Baba: "Dam vam to, kar hočete, da boste hoteli to, kar vam želim dati."


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

OpenWRT in OpenVPN (strani: 1 2 )

Oddelek: Omrežja in internet
7910417 (8277) BivšiUser2
»

Brskanje v tujini z domačim IP-jem

Oddelek: Omrežja in internet
282499 (1788) MrStein
»

Openvpn (strani: 1 2 )

Oddelek: Programska oprema
6514764 (6331) Blisk
»

Vista OpenVPN - Windows Domain

Oddelek: Omrežja in internet
81199 (1075) Daedalus
»

tun0 device?

Oddelek: Operacijski sistemi
91582 (1423) poweroff

Več podobnih tem