Portál AbcLinuxu, 14. června 2024 01:06


Dotaz: OpenVPN a přidělené adresy

18.9.2009 15:21 Petr Dvořák
OpenVPN a přidělené adresy
Přečteno: 183×
Odpovědět | Admin

Dobrý den, řeším následující situaci - v práci server s OpenVPN, doma VPN klient sw; nejsem si jistý jak přidělit IP adresy koncům tunelu, aby se domácí PC dostalo na stejný segment sítě jako počítače v práci (kvůli sdílení win). Mohu adresy přidělit přímo z rozsahu, který je použit pro firemní PC, nebo budu muset provést překlad?

předem díky za komentáře

Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

the.max avatar 18.9.2009 15:34 the.max | skóre: 46 | blog: Smetiště
Rozbalit Rozbalit vše Re: OpenVPN a přidělené adresy
Odpovědět | | Sbalit | Link | Blokovat | Admin
pokud vim, tak aby fungovalo win sdileni neni nutne byt na stejnem segmentu, jen proste nejde pouzit prohlizeni okolnich pocitacu. Nicmene dohulakat se na sitovy disk lze pomoci \\192.168.1.1\ (mozna ty lomitka maji byt obracena)
KERNEL ULTRAS Fan Team || Sabaton - nejlepší učitel dějepisu || Gentoo - dokud nás systemd nerozdělí.
19.9.2009 11:41 svaca | skóre: 38
Rozbalit Rozbalit vše Re: OpenVPN a přidělené adresy
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nastaveni toho openVPN serveru by muselo byt bridgovane a ne routovane ... Coz pravdepodovne neni z toho co pises .. To by musel udelat admin :-)
What is the difference between bridging and routing?

Bridging and routing are two methods of linking systems via a VPN.

Bridging advantages

Broadcasts traverse the VPN -- this allows software that depends on LAN broadcasts such as Windows NetBIOS file sharing and network neighborhood browsing to work.
No route statements to configure.
Works with any protocol that can function over ethernet, including IPv4, IPv6, Netware IPX, AppleTalk, etc.
Relatively easy-to-configure solution for road warriors.
Bridging disadvantages

Less efficient than routing, and does not scale well.
Routing advantages

Efficiency and scalability.
Allows better tuning of MTU for efficiency.
Routing disadvantages

Clients must use a WINS server (such as samba) to allow cross-VPN network browsing to work.
Routes must be set up linking each subnet.
Software that depends on broadcasts will not "see" machines on the other side of the VPN.
Works only with IPv4 in general, and IPv6 in cases where tun drivers on both ends of the connection support it explicitly.
Never give up ! Stay ATARI !

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.