Forum » Programska oprema » 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:
Č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?
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]
[ 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 ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | OpenWRT in OpenVPN (strani: 1 2 )Oddelek: Omrežja in internet | 10417 (8277) | BivšiUser2 |
» | Brskanje v tujini z domačim IP-jemOddelek: Omrežja in internet | 2499 (1788) | MrStein |
» | Openvpn (strani: 1 2 )Oddelek: Programska oprema | 14764 (6331) | Blisk |
» | Vista OpenVPN - Windows DomainOddelek: Omrežja in internet | 1199 (1075) | Daedalus |
» | tun0 device?Oddelek: Operacijski sistemi | 1582 (1423) | poweroff |