OpenVPN Config for Client
Posted: Sat Dec 17, 2011 7:37 pm
Hi,
I'm new to OpenVPN, I used PPTP before and seems to be a lot easier to configure but I like the idea of safer VPN connection, thats why I'm here. I'm have been searching around for the safest yet work for my situation with no avail.
My situation is simple. I have a Synology NAS that I like to access around the world securely over Internet...that's the only goal, I believe many user have the same thing on their mind.
As for Synology, nothing much you can do on the server side, you managed it through DSM with just options.
On the client side, this is my config :
========================================================================================
dev tun
tls-client
remote XX.XX.XXX.XXX 1194
auth-nocache
pull
route-nopull
proto udp
script-security 2
ca ca.crt
comp-lzo
reneg-sec 0
auth-user-pass
========================================================================================
Status log showing :
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Options error: option 'route' cannot be used in this context
Options error: option 'route' cannot be used in this context
Options error: option 'route' cannot be used in this context
========================================================================================
My question :
1) How do you enabled server certificate verification method?
2) I read here that we need to use "route-nopull" so that Internet traffic not routed through VPN, but it gave me "Options error: option 'route' cannot be used in this context", what did I do wrong?
Any suggestion to make the connection more secure is REALLY APPRECIATED. Thank you.
I'm new to OpenVPN, I used PPTP before and seems to be a lot easier to configure but I like the idea of safer VPN connection, thats why I'm here. I'm have been searching around for the safest yet work for my situation with no avail.
My situation is simple. I have a Synology NAS that I like to access around the world securely over Internet...that's the only goal, I believe many user have the same thing on their mind.
As for Synology, nothing much you can do on the server side, you managed it through DSM with just options.
On the client side, this is my config :
========================================================================================
dev tun
tls-client
remote XX.XX.XXX.XXX 1194
auth-nocache
pull
route-nopull
proto udp
script-security 2
ca ca.crt
comp-lzo
reneg-sec 0
auth-user-pass
========================================================================================
Status log showing :
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Options error: option 'route' cannot be used in this context
Options error: option 'route' cannot be used in this context
Options error: option 'route' cannot be used in this context
========================================================================================
My question :
1) How do you enabled server certificate verification method?
2) I read here that we need to use "route-nopull" so that Internet traffic not routed through VPN, but it gave me "Options error: option 'route' cannot be used in this context", what did I do wrong?
Any suggestion to make the connection more secure is REALLY APPRECIATED. Thank you.