Neo
The Good Doctor
Deci scot linia respectivă și în loc de remote_host pun IPul desktopului (remote?) și în loc de net_gateway pun...?
Noi detalii.
Config files:
Server:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
route 10.8.0.1 IPul-desktop
Client:
remote IPul-desktop:1194
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 10.8.0.1 IPul-desktop
Rezultat
Interesant, acum Teamviewer merge fără nicio problemă cu connect din ambele direcții dat. Fac progrese
Noi detalii.
Config files:
Server:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
route 10.8.0.1 IPul-desktop
Client:
remote IPul-desktop:1194
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 10.8.0.1 IPul-desktop
Rezultat
Sat Jun 11 15:04:02 2011 OpenVPN 2.2.0 Win32-MSVC++ [SSL] [LZO2] built on Apr 26 2011
Sat Jun 11 15:04:02 2011 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sat Jun 11 15:04:02 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Jun 11 15:04:02 2011 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{A2536647-B5A4-4C8A-881A-6E955E2702E3}.tap
Sat Jun 11 15:04:02 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.252 on interface {A2536647-B5A4-4C8A-881A-6E955E2702E3} [DHCP-serv: 10.8.0.1, lease-time: 31536000]
Sat Jun 11 15:04:02 2011 Successful ARP Flush on interface [47] {A2536647-B5A4-4C8A-881A-6E955E2702E3}
Sat Jun 11 15:04:02 2011 UDPv4 link local (bound): [undef]:1194
Sat Jun 11 15:04:02 2011 UDPv4 link remote: IPul-desktop:1194
Sat Jun 11 15:05:19 2011 Peer Connection Initiated with IPul-desktop:1194
Sat Jun 11 15:05:25 2011 Warning: address 10.8.0.1 is not a network address in relation to netmask IPul-desktop
Sat Jun 11 15:05:25 2011 ROUTE: route addition failed using CreateIpForwardEntry: The parameter is incorrect. [status=87 if_index=47]
The route addition failed: The parameter is incorrect.
Sat Jun 11 15:05:25 2011 Initialization Sequence Completed
Interesant, acum Teamviewer merge fără nicio problemă cu connect din ambele direcții dat. Fac progrese