Odstranil jsem up.sh ale nevím proč to tedy píšou v novádu že má být takto nastaven pro bridge mode.Viz příloha.
remote 192.168.0.254 1194
Nyní už spojení jde ale ještě mám problém v nastavení sítě.Bridge je spojen s eth0 a bridge se jmenuje br0.Na tomto rozhraní běží dhcp v rozsahu 192.168.0.0 a brána eth1(br0) je 254.
To mne píše chby v logu
Thu Jun 7 13:04:05 2012 MULTI: multi_create_instance called
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 Re-using SSL/TLS context
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 LZO compression initialized
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 Local Options hash (VER=V4): 'f7df56b8'
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 Expected Remote Options hash (VER=V4): 'd79ca330'
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 TLS: Initial packet from [AF_INET]192.168.0.26:49184, sid=97600dc3 4b5a4bc2
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 VERIFY OK: depth=1, /C=CZ/ST=VC/L=Nachod/O=Mesa/OU=Mesa/CN=test/name=test/emailAddress=filip.corsair@gmail.com
Thu Jun 7 13:04:05 2012 192.168.0.26:49184 VERIFY OK: depth=0, /C=CZ/ST=VC/L=Nachod/O=Mesa/OU=changeme/CN=brclient1/name=brclient1/emailAddress=mail@host.domain
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 WARNING: 'dev-type' is used inconsistently, local='dev-type tap', remote='dev-type tun'
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1574', remote='link-mtu 1542'
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jun 7 13:04:06 2012 192.168.0.26:49184 [brclient1] Peer Connection Initiated with [AF_INET]192.168.0.26:49184
Thu Jun 7 13:04:06 2012 brclient1/192.168.0.26:49184 MULTI_sva: pool returned IPv4=192.168.0.50, IPv6=14aa:7fb7:9818:a1b8:500:0:9818:a1b8
Thu Jun 7 13:04:08 2012 brclient1/192.168.0.26:49184 PUSH: Received control message: 'PUSH_REQUEST'
Thu Jun 7 13:04:08 2012 brclient1/192.168.0.26:49184 send_push_reply(): safe_cap=960
Thu Jun 7 13:04:08 2012 brclient1/192.168.0.26:49184 SENT CONTROL [brclient1]: 'PUSH_REPLY,dhcp-option DNS 192.168.101.201,route-gateway 192.168.0.254,ping 1,ping-restart 3,ifconfig 192.168.0.50 255.255.255.0' (status=1)
Thu Jun 7 13:04:14 2012 brclient1/192.168.0.26:49184 [brclient1] Inactivity timeout (--ping-restart), restarting
Thu Jun 7 13:04:14 2012 brclient1/192.168.0.26:49184 SIGUSR1[soft,ping-restart] received, client-instance restarting
Jak nejlépe nastavit síť a nebo mám zrušit dhcp.