Dobrý deň. Mám Fedoru 20 a chcem vytvoriť VPN spojenie za pomoci OPEN VPN. Ako server chcem mať fedoru a ako clienta počítač s windovsom. Som nováčik takže sa vopred ospravedlňujem ak riešim nejaké triviálne veci, ale už si vážne neviem dať rady. Server som spustil na Fedore ale nejde mi pripojiť nan clienta. Postupoval som podla návodu [
fedoraproject.org] . Ale stále netuším, kde je problém.
Výpis logu z klienta:
Sat Mar 01 21:54:11 2014 OpenVPN 2.3.2 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Enter Management Password:
Sat Mar 01 21:54:11 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sat Mar 01 21:54:11 2014 Need hold release from management interface, waiting...
Sat Mar 01 21:54:11 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sat Mar 01 21:54:11 2014 MANAGEMENT: CMD 'state on'
Sat Mar 01 21:54:11 2014 MANAGEMENT: CMD 'log all on'
Sat Mar 01 21:54:11 2014 MANAGEMENT: CMD 'hold off'
Sat Mar 01 21:54:11 2014 MANAGEMENT: CMD 'hold release'
Sat Mar 01 21:54:11 2014 WARNING: No server certificate verification method has been enabled. See [
openvpn.net] for more info.
Sat Mar 01 21:54:12 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sat Mar 01 21:54:12 2014 MANAGEMENT: >STATE:1393707252,RESOLVE,,,
Sat Mar 01 21:54:14 2014 RESOLVE: Cannot resolve host address: <192.168.1.44>: Poadovaný názov je platný, no nenali sa iadne údaje poadovaného typu.
Log zo servera zo suboru openvpn.log:
Sat Mar 1 20:28:13 2014 us=149321 Current Parameter Settings:
Sat Mar 1 20:28:13 2014 us=366304 config = 'server.conf'
Sat Mar 1 20:28:13 2014 us=367876 mode = 1
Sat Mar 1 20:28:13 2014 us=367938 persist_config = DISABLED
Sat Mar 1 20:28:13 2014 us=367955 persist_mode = 1
Sat Mar 1 20:28:13 2014 us=367966 show_ciphers = DISABLED
Sat Mar 1 20:28:13 2014 us=367977 show_digests = DISABLED
Sat Mar 1 20:28:13 2014 us=367987 show_engines = DISABLED
Sat Mar 1 20:28:13 2014 us=367998 genkey = DISABLED
Sat Mar 1 20:28:13 2014 us=368008 key_pass_file = '[UNDEF]'
Sat Mar 1 20:28:13 2014 us=368018 show_tls_ciphers = DISABLED
Sat Mar 1 20:28:13 2014 us=368029 Connection profiles [default]:
Sat Mar 1 20:28:13 2014 us=368050 proto = tcp-server
Sat Mar 1 20:28:13 2014 us=368061 local = '[UNDEF]'
Sat Mar 1 20:28:13 2014 us=368071 local_port = 1194
Sat Mar 1 20:28:13 2014 us=368081 remote = '[UNDEF]'
Sat Mar 1 20:28:13 2014 us=368091 remote_port = 1194
Sat Mar 1 20:28:13 2014 us=368101 remote_float = DISABLED
Sat Mar 1 20:28:13 2014 us=368110 bind_defined = DISABLED
Sat Mar 1 20:28:13 2014 us=368120 bind_local = ENABLED
Sat Mar 1 20:28:13 2014 us=368130 NOTE: --mute triggered...
Sat Mar 1 20:28:13 2014 us=368155 260 variation(s) on previous 20 message(s) suppressed by --mute
Sat Mar 1 20:28:13 2014 us=368167 OpenVPN 2.3.2 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Sep 12 2013
Sat Mar 1 20:28:13 2014 us=368300 WARNING: you are using user/group/chroot/setcon without persist-tun -- this may cause restarts to fail
Sat Mar 1 20:28:13 2014 us=368316 WARNING: you are using user/group/chroot/setcon without persist-key -- this may cause restarts to fail
Sat Mar 1 20:28:13 2014 us=470385 Diffie-Hellman initialized with 1024 bit key
Sat Mar 1 20:28:13 2014 us=880219 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Mar 1 20:28:13 2014 us=880452 Socket Buffers: R=[87380->131072] S=[16384->131072]
Sat Mar 1 20:28:13 2014 us=880793 ROUTE: default_gateway=UNDEF
Sat Mar 1 20:28:14 2014 us=191242 TUN/TAP device tun0 opened
Sat Mar 1 20:28:14 2014 us=191449 TUN/TAP TX queue length set to 100
Sat Mar 1 20:28:14 2014 us=191564 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sat Mar 1 20:28:14 2014 us=191666 /usr/sbin/ip link set dev tun0 up mtu 1500
Sat Mar 1 20:28:14 2014 us=585017 /usr/sbin/ip addr add dev tun0 local 10.0.1.1 peer 10.0.1.2
Sat Mar 1 20:28:14 2014 us=995307 /usr/sbin/ip route add 10.0.1.0/24 via 10.0.1.2
Sat Mar 1 20:28:14 2014 us=997519 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Mar 1 20:28:14 2014 us=999945 GID set to nobody
Sat Mar 1 20:28:15 2014 us=13 UID set to nobody
Sat Mar 1 20:28:15 2014 us=38 Listening for incoming TCP connection on [undef]
Sat Mar 1 20:28:15 2014 us=66 TCPv4_SERVER link local (bound): [undef]
Sat Mar 1 20:28:15 2014 us=78 TCPv4_SERVER link remote: [undef]
Sat Mar 1 20:28:15 2014 us=93 MULTI: multi_init called, r=256 v=256
Sat Mar 1 20:28:15 2014 us=159 IFCONFIG POOL: base=10.0.1.4 size=62, ipv6=0
Sat Mar 1 20:28:15 2014 us=187 MULTI: TCP INIT maxclients=1024 maxevents=1028
Sat Mar 1 20:28:15 2014 us=218 Initialization Sequence Completed
nastavoval som aj povolenie portou a programu vo firewale.