Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: kryptos on November 26, 2010, 09:19:16 AM

Title: can't ping when connection to openvpn-bridge
Post by: kryptos on November 26, 2010, 09:19:16 AM
Hi all,

I have installed smeserver-openvpn-bridge contrib and successfully installed it.I can connect without problems but when i tried to ping one of the remote local IP it won't respond. Any ideas? see below for the logs it displays.

Quote
Peer Connection Initiated with 112.202.x.x:1194
Fri Nov 26 15:35:56 2010 NOTE: Beginning empirical MTU test -- results should be available in 3 to 4 minutes.
Fri Nov 26 15:35:57 2010 Options error: option 'comp-lzo' cannot be used in this context
Fri Nov 26 15:35:57 2010 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{27D21F91-A484-4093-878C-8546B0D3A483}.tap
Fri Nov 26 15:35:57 2010 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.0.10/255.255.255.0 on interface {27D21F91-A484-4093-878C-8546B0D3A483} [DHCP-serv: 192.168.0.0, lease-time: 31536000]
Fri Nov 26 15:35:57 2010 Successful ARP Flush on interface [4] {27D21F91-A484-4093-878C-8546B0D3A483}
Fri Nov 26 15:36:04 2010 Initialization Sequence Completed
Fri Nov 26 15:36:33 2010 SIGTERM[hard,] received, process exiting

and this is my config file

Quote
rport 1194
proto udp
dev tap
nobind
# Uncomment the following line if your system
# support passtos (not supported on Windows)
# passtos
remote myremoteserver

tls-client
ns-cert-type server
#auth-nocache


# Replace user.p12 with the certificate
# bundle in PKCS12 format
pkcs12 user1.p12

# You can replace the pkcs12
# directive with the old ones
#ca cacert.pem
#cert user.pem
#key user-key.pem

mtu-test
comp-lzo
pull

Regards,
Rocel
Title: Re: can't ping when connection to openvpn-bridge
Post by: Daniel B. on November 26, 2010, 10:16:14 AM
Hi.

You don't give us a lot of information, so it'll be hard to diagnosis. But, I see at least this in your logs:
Code: [Select]
Options error: option 'comp-lzo' cannot be used in this contextThe problem probably comes from the compression. Have you disabled it on the server-side ?

Regards, Daniel
Title: Re: can't ping when connection to openvpn-bridge
Post by: kryptos on November 27, 2010, 02:11:05 AM
Quote
Have you disabled it on the server-side ?

That's what I have thought but I have enabled it just for sure. But still the same error. I don't know where to look for the logs for this. We have deployed some of our servers with openvpn-bridge but this is the first time that got this error.

Regards,
Rocel
Title: Re: can't ping when connection to openvpn-bridge
Post by: Daniel B. on November 29, 2010, 09:28:00 AM
So, you should open a new bug, post the number here for reference, and attach the result of
Code: [Select]
db configuration show openvpn-bridge
Code: [Select]
db openvpn-bridge show. You should also attach your log file /var/log/openvpn-bridge/current

Regards, Daniel
Title: Re: can't ping when connection to openvpn-bridge
Post by: kryptos on November 30, 2010, 03:32:59 AM
hello Daniel,

I just tried to disable the lzo compression from the server as what you have advised( I thought I have to enabled I just misunderstood your advise) and also commented the lzo on the config file and I can ping the local networks already. this command I have set.

 
Quote
config setprop openvpn-bridge compLzo disabled
 signal-event openvpn-bridge-update

Now working fine.

Thanks,
Rocel