|
Replies
:
18
-
Pages
:
2
[
1
2
|
Next
]
-
Last Post
:
Sep 2, 2009 6:28 AM
by: KonicaMinolta
|
Topics
:
[
Previous
|
Next
]
|
|
Posts:
7
From:
Melbourne, Australia
Registered:
Jul 13, 2008
|
|
|
|
Configuration Profiles - Proxy Server Settings
Posted:
Jul 13, 2008 10:16 PM
|
|
|
We have used the iPhone Configuration Utility to create a custom profile for our organisation as our Wireless network runs WPA2 Enterprise using EAP TTLS with PAP authentication which doesn't work out of the box as CHAP is the default.
We have successfully deployed this via a web server to a iPod Touch device however we didn't see any means to include our needed proxy server settings.
From the Enterprise Deployment Guide in Appendix 2 there is a mention of Proxy server settings which you appear to have to manually edit into the configuration profile.
However its not 100% clear where they need to go exactly.
At the moment I have them situated within the following tags
<dict>
<key>EAPClientConfiguration</key>
<dict>
...
</dict>
...
</dict>
I believe the section that needs adding are going to be of the form of
1. Manual proxy settings
<key>PropNetProxiesHTTPEnable</key>
<integer>1</integer>
<key>PropNetProxiesHTTPProxy</key>
<string>someproxy.mycompany.com</string>
<key>PropNetProxiesHTTPPort</key>
<integer>8080</integer>
2. Automatic proxy settings
<key>PropNetProxiesProxyAutoConfigEnable</key>
<integer>1</integer>
<key>PropNetProxiesProxyAutoConfigURLString</key>
<string>http://auto.mycompany.com/wpad.dat</string>
Anyone successfully done this as yet?
MacBook Pro 15" 2.4Ghz
Mac OS X (10.5.4)
4Gb Mem, 200Gb HDD
|
|
Posts:
2
From:
Switzerland
Registered:
Jul 14, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 14, 2008 9:20 AM
in response to: cliff.wakefield
|
|
|
I have exactly the same problem that you. I tried adding a dictionary at the top of the file, but my iPod didn't like the new configuration file and refused to import it. The problem is that the documentation is not clear enough and, to make the thing worse, the DTD used by this file is just too simple:
http://www.apple.com/DTDs/PropertyList-1.0.dtd
The DTD used is generic enough to describe PropertyLists, but I think Apple should also incude a DTD that describes the format for this particular file. Then, it be would easier to validate this file and also to make easier for people to figure out where changes should be made.
MacBook Air
Mac OS X (10.5.4)
|
|
Posts:
85
Registered:
May 23, 2001
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 14, 2008 9:42 AM
in response to: cliff.wakefield
|
|
|
I would try again to get this configured using the iPhone Configuration Utility before hacking the plist. Why can't you just check PAP authentication in iPCU? Look under Wi-Fi > Authentication > Inner Authentication.
|
|
Posts:
7
From:
Melbourne, Australia
Registered:
Jul 13, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 14, 2008 2:55 PM
in response to: C l i f f
|
|
|
Ummm the question relates to specifying proxy servers within your organisation as part of your deployable configuration profile.
It has nothing to do with authentication which I have working fine.
As the previous poster pointed out the format of the file is quite to understand from the documentation and the DTD used in the XML file is just too simplistic to be of any help.
I have submitted a feature enhancement for the iPhone Configuration Utility to allow for the entering of the proxy server details, will see if Apple responds to that.
But so far despite many attempts at locating where the proxy <dict> section should be located in the file I have had no luck.
Some parse, some don't, none work.
MacBook Pro 15" 2.4Ghz
Mac OS X (10.5.4)
4Gb Mem, 200Gb HDD
|
|
Posts:
2
From:
NZ
Registered:
Jul 15, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 15, 2008 2:00 AM
in response to: cliff.wakefield
|
|
|
Hi,
I too have been wondering what to put where and have found the following..
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Proxies</key>
<dict>
<key>PropNetProxiesHTTPEnable</key >
<integer>1</integer>
<key>PropNetProxiesHTTPProxy</key>
<string>proxy</string>
<key>PropNetProxiesHTTPPort</key>
<integer>8080</integer>
<key>HTTPProxyUsername</key>
<string>username</string>
<key>HTTPProxyPassword</key>
<string>password</string>
</dict>
<dict>
Excuse the bad formatted XML and incomplete but that should give you some clues as to where it might fit into the XML.
While this installs for me I cannot actually make it work or at least I havent successfully routed through the proxy.
Let me know if it is useful and how you go with it..
Cheers
Grant
Windows Vista
|
|
Posts:
7
From:
Melbourne, Australia
Registered:
Jul 13, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 15, 2008 2:54 AM
in response to: grantie
|
|
|
Hmmm I hadn't placed it in the document at that point before.
So I did try what you suggested however the iPhone rejected the profile saying 'Profile Format Not Recognized' so while it is a valid XML document it isn't a valid profile.
Below is one of my trial profiles intended for use for testing at home.
The proxy in question is an open proxy in UK which I just randomly grabbed from a Google search 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Proxies</key>
<dict>
<key>PropNetProxiesHTTPEnable</key>
<integer>1</integer>
<key>PropNetProxiesHTTPProxy</key>
<string>194.36.10.154</string>
<key>PropNetProxiesHTTPPort</key>
<integer>3128</integer>
</dict>
<dict>
<dict>
<key>EncryptionType</key>
<string>WPA</string>
<key>HIDDEN_NETWORK</key>
<false/>
<key>PayloadDescription</key>
<string>Configures wireless connectivity settings.</string>
<key>PayloadDisplayName</key>
<string>Wi-Fi (HOMEWLAN)</string>
<key>PayloadIdentifier</key>
<string>home.mockup.wireless.wifi</string>
<key>PayloadOrganization</key>
<string>Home</string>
<key>PayloadType</key>
<string>com.apple.wifi.managed</string>
<key>PayloadUUID</key>
<string>D2AE687E-F995-4622-8B98-6811CA0F6AF5</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>SSID_STR</key>
<string>HOMEWLAN</string>
</dict>
</array>
<key>PayloadDescription</key>
<string>This is a wireless profile for the iPhone and iPod Touch for home network access.</string>
<key>PayloadDisplayName</key>
<string>Home</string>
<key>PayloadIdentifier</key>
<string>home.mockup.wireless</string>
<key>PayloadOrganization</key>
<string>Home</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>A756720C-AEE6-4AED-9253-0FC49C46865A</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sorry for the formatting, these discussion boards really need some simple formatting tags ;(
MacBook Pro 15" 2.4Ghz
Mac OS X (10.5.4)
4Gb Mem, 200Gb HDD
|
|
Posts:
2
From:
NZ
Registered:
Jul 15, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 15, 2008 3:40 AM
in response to: cliff.wakefield
|
|
|
Hi,
Yes that's why Apple need to add this (more than likely other) configuration options to the configurator.
Below is a complete file that works for me. I have changed information in this for obvious security reasons, so it probably wouldnt work exactly like this.
Test at your own risk
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Proxies</key>
<dict>
<key>PropNetProxiesHTTPEnable</key >
<integer>1</integer>
<key>PropNetProxiesHTTPProxy</key>
<string>proxy</string>
<key>PropNetProxiesHTTPPort</key>
<integer>8080</integer>
<key>HTTPProxyUsername</key>
<string>username</string>
<key>HTTPProxyPassword</key>
<string>password</string>
</dict>
<key>EAP</key>
<dict/>
<key>OverridePrimary</key>
<true/>
<key>PPP</key>
<dict>
<key>AuthName</key>
<string>username</string>
<key>CCPEnabled</key>
<true/>
<key>CCPMPPE40Enabled</key>
<true/>
<key>CommRemoteAddress</key>
<string>vpn address</string>
<key>TokenCard</key>
<true/>
</dict>
<key>PayloadDescription</key>
<string>Configures VPN settings, including authentication.</string>
<key>PayloadDisplayName</key>
<string>VPN (VPN Configuration)</string>
<key>PayloadIdentifier</key>
<string>test.mobileprofile.vpn</string>
<key>PayloadOrganization</key>
<string>test organisation</string>
<key>PayloadType</key>
<string>com.apple.vpn.managed</string>
<key>PayloadUUID</key>
<string>8c188b36-01ca-2b5e-878a-6bd95899053e</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>UserDefinedName</key>
<string>VPN Configuration</string>
<key>VPNType</key>
<string>PPTP</string>
</dict>
<dict>
<key>EncryptionType</key>
<string>WEP</string>
<key>HIDDEN_NETWORK</key>
<false/>
<key>PayloadDescription</key>
<string>Configures wireless connectivity settings.</string>
<key>PayloadDisplayName</key>
<string>Wi-Fi</string>
<key>PayloadIdentifier</key>
<string>test.mobileprofile.wifi</string>
<key>PayloadOrganization</key>
<string>test organisation</string>
<key>PayloadType</key>
<string>com.apple.wifi.managed</string>
<key>PayloadUUID</key>
<string>1360fef1-0df5-aa50-8e3c-96fee313d85d</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>SSID_STR</key>
<string>testssid</string>
</dict>
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DefaultsData</key>
<dict>
<key>apns</key>
<array>
<dict>
<key>apn</key>
<string>test.apn.com</string>
<key>password</key>
<data>
</data>
<key>username</key>
<string>username</string>
</dict>
</array>
</dict>
<key>DefaultsDomainName</key>
<string>com.apple.managedCarrier</string>
</dict>
</array>
<key>PayloadDescription</key>
<string>Provides customization of carrier Access Point Name.</string>
<key>PayloadDisplayName</key>
<string>Advanced Settings</string>
<key>PayloadType</key>
<string>com.apple.apn.managed</string>
<key>PayloadUUID</key>
<string>19efca0f-fa8d-a257-bbf4-1b4097280e44</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string></string>
<key>PayloadDisplayName</key>
<string>test</string>
<key>PayloadIdentifier</key>
<string>test.mobileprofile</string>
<key>PayloadOrganization</key>
<string>test organisation</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>534309ef-9bde-3055-98ee-b0ba59736786</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Windows Vista
|
|
Posts:
10
From:
Switzerland
Registered:
Jul 17, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jul 17, 2008 10:13 AM
in response to: cliff.wakefield
|
|
|
Does anybody know if the proxy-settings are supported in the section APN and if javascript can be uses inside the proxy.pac file
Thanks
Regards
Stefan
Macbook
Mac OS X (10.5.4)
|
|
Posts:
8
Registered:
Nov 15, 2006
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Oct 1, 2008 1:28 AM
in response to: sheidler
|
|
|
Anything new on this ?
my iPhones doesn't accept the proxy settings...any solutions ?
I tried all the configuration files from here.
Mac OS X (10.4.8)
|
|
Posts:
8
Registered:
Nov 15, 2006
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Nov 11, 2008 6:18 AM
in response to: grantie
|
|
|
hej
I got it run.
The profile of grantie is working fine on my iPhone but could anybody help me cutting out VPN and Wi-Fi settings out of this profile?
Everytime I try cutting VPN and Wi-Fi my iPhone doesn't accept the config-file anymore.
I only need APN and Proxy Settings for a working connection.
Many Thanks so far!!!
Mac OS X (10.5.5)
|
|
Posts:
6
Registered:
Jan 9, 2009
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jan 13, 2009 3:42 AM
in response to: niklasen
|
|
|
i edit the preferences.plist file and it does work but now i am unable to bypass one server from the proxy (the exchange server)
and i prefer a configmobile witch does this setting for me
hard to believe that apple thinks that this is also a suitable enterprise phone????
<key>Proxies</key>
<dict>
<key>HTTPEnable</key>
<integer>1</integer>
<key>HTTPPort</key>
<integer>8080</integer>
<key>HTTPProxy</key>
<string>proxy.k</string>
<key>HTTPSEnable</key>
<integer>1</integer>
<key>HTTPSPort</key>
<integer>8080</integer>
<key>HTTPSProxy</key>
<string>proxy.k</string>
</dict>
Windows i386
Windows Vista
|
|
Posts:
10
Registered:
Nov 30, 2006
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Apr 15, 2009 1:39 AM
in response to: KonicaMinolta
|
|
|
Hi KonicaMinolta,
I have the same need: use a company proxy over 3G and a dedicated APN.
A managed to setup the APN in the .mobileconfig file, but none of my proxy settings works over 3G.
I understand that you did it? How?
Thanks for your help,
TOM.
MacBook Pro C2D 17"
Mac OS X (10.5.6)
iPhone 3G 2.2.1
|
|
Posts:
7
From:
Melbourne, Australia
Registered:
Jul 13, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jun 22, 2009 6:38 AM
in response to: Tom34
|
|
|
Seems even with iPhone OS 3.0 and iPhone Configuration Utility 2.0 you still can't set Proxy settings for a WIFI connection.
So yet again I've left feedback for Apple to ignore.
If there are settings on the device you can set, you should be able to configure them in iPhone Configuration Utility, it just doesn't make sense why Apple won't put this in!!!
MacBook Pro 15" 2.4Ghz
Mac OS X (10.5.7)
4Gb Mem, 200Gb HDD
|
|
Posts:
10
Registered:
Nov 30, 2006
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jun 23, 2009 5:16 AM
in response to: cliff.wakefield
|
|
|
IT WORKS NOW! 
Get the new iPhone Configuration Utility
http://www.apple.com/support/iphone/enterprise/
Then Go to "Profils de configuration" then "Avance" and "Serveur proxy et port" (my computer speeks french ).
And you can setup a proxy server for your 3G browsing. Now I can browse my company VPN using my iPhone over 3G. Best of all, the secure Exchange mail+cal+contacts also works.
Thanks Apple for 3.0!
See U,
TOM.
MacBook Pro C2D 17" - iMac G5 20"
Mac OS X (10.4.8)
Iphone 3G 3.0
|
|
Posts:
7
From:
Melbourne, Australia
Registered:
Jul 13, 2008
|
|
|
|
Re: Configuration Profiles - Proxy Server Settings
Posted:
Jun 23, 2009 5:07 PM
in response to: Tom34
|
|
|
The advance section seems to be dedicated to APN's which is to do with GRPS comms with your Telcos.
I am not sure if it will have the desired affect.
MacBook Pro 15" 2.4Ghz
Mac OS X (10.5.4)
4Gb Mem, 200Gb HDD
|
|
|