Portál AbcLinuxu, 14. května 2025 04:26
Thu Apr 24 22:30:49 2008 [UNDEF] Inactivity timeout (--ping-restart), restarting Thu Apr 24 22:30:49 2008 TCP/UDP: Closing socket Thu Apr 24 22:30:49 2008 SIGUSR1[soft,ping-restart] received, process restarting Thu Apr 24 22:30:49 2008 Restart pause, 2 second(s) Thu Apr 24 22:30:51 2008 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. Thu Apr 24 22:30:51 2008 Re-using SSL/TLS context Thu Apr 24 22:30:51 2008 LZO compression initialized Thu Apr 24 22:30:51 2008 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ] Thu Apr 24 22:30:51 2008 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ] Thu Apr 24 22:30:51 2008 Local Options hash (VER=V4): 'd79ca330' Thu Apr 24 22:30:51 2008 Expected Remote Options hash (VER=V4): 'f7df56b8' Thu Apr 24 22:30:51 2008 UDPv4 link local: [undef] Thu Apr 24 22:30:51 2008 UDPv4 link remote: xx.xxx.xxx.xxx:1194tady je conf serveru:
dev tap ;dev tun ;proto tcp proto udp ; dev-node WirelessVPN server 192.168.20.0 255.255.255.0 ;server-bridge 10.10.10.1 255.255.255.0 10.10.10.128 10.10.10.254 management localhost 8505 port 1194 client-to-client ;route 192.168.0.0 255.255.255.0 ;push "route 192.168.2.0 255.255.255.0" ca ca.crt cert server.crt key server.key dh dh1024.pem ifconfig-pool-persist ipp.txt keepalive 10 120 comp-lzo verb 3 mute-replay-warnings ; mute 20a conf clienta:
# Specify that we are a client and that we # will be pulling certain config file directives # from the server. client dev tap ;dev tun ;proto tcp proto udp remote xx.xxx.xxx.xxx 1194 ; server-name 8194 ca ca.crt cert client1.crt key client1.key ns-cert-type server ping 15 ping-restart 45 ping-timer-rem persist-key persist-tun resolv-retry infinite nobind comp-lzo verb 3 ;mute 20 mute-replay-warningsani jeden PC nema verejnou IP a jsou schovani za NATem. Nevim kde mam hledat chybu. Zkuste me nakopnout. Jestli je to tedy vubec mozne, aby to takhle fungovalo.
ani jeden PC nema verejnou IP a jsou schovani za NATem.Ale ve stejné síti jsou... nebo ne? Jinak co mě napadá - nemá se náhodou při použití tap rozhranní použít volba server-bridge místo server?
client dev tap proto udp remote xx.xxx.xxx.xxx port 1194 ca ca.crt cert client1.crt key client1.key ns-cert-type server ping 15 ping-restart 45 ping-timer-rem persist-key persist-tun resolv-retry infinite nobind comp-lzo verb 3
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.