SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002792: user agent for opevpn through http proxy doesn't work - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002792Endian FirewallOpenVPN Client and Serverpublic2010-03-23 14:012010-11-22 12:08
0002792: user agent for opevpn through http proxy doesn't work
When you encapsulate the vpn through a proxy http you may pretend to be a browser and you can force a fake user agent.

In gw2gw if you set the following field:
"Forge proxy user-agent"
the tunnel can't be established, this is due to a typo in the openvpnclient.conf.tmpl file.

Those are the lines:

#if $PROXY_VERSION != '':
http-proxy-option type VERSION $PROXY_VERSION
#end if

http-proxy-option type AGENT $PROXY_USERAGENT
#end if

They should be:

#if $PROXY_VERSION != '':
http-proxy-option VERSION $PROXY_VERSION
#end if

http-proxy-option AGENT $PROXY_USERAGENT
#end if

Without "type" because the type is already VERSION or AGENT, the man page is ambiguous on this option but I tried :)
Issue History
2010-03-23 14:01luca-endianNew Issue
2010-03-23 14:02luca-endianTag Attached: purple
2010-03-25 15:54ra-endianAssigned To => ra-endian
2010-03-25 15:54ra-endianStatusnew => resolved
2010-03-25 15:54ra-endianResolutionopen => fixed
2010-11-22 12:08peter-endianFixed in Version => 2.4.1
2010-11-22 12:08peter-endianStatusresolved => closed

There are no notes attached to this issue.