Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Im playing with my iphone in anticipation of getting an ipad soon, and have found apps for changing ad passwords, rdp, vnc etc. The one thing left that i cant get going is i cant get access to my papercut management console!!

 

I go to safari and put in the address bar http://xxx.xxx.xxx.xxx:9191 and i get the county error page saying it cant find the website. Ive tried it with 3 or 4 of other web consoles that i have for various things and the same thing for all of them.

 

My iphone is on the schools wireless network and i have put in appropriate proxy settings but there is no box to say dont use for local sites like in IE. Is there an app i can download to achieve this?

Posted

I assume on a normal PC you make it a proxy exception?

 

On another note what app do you use to reset AD passwords please?

Posted
I assume on a normal PC you make it a proxy exception?

 

On another note what app do you use to reset AD passwords please?

 

Yes on a pc in the exceptions list i just put the servers ip address.

 

For the ad passwords i use 'AD Helpdesk Lite' the lite one lets you manage one domain but the paid version £5.49 (i think!!) lets you have multiple profiles for different domains. You can change users passwords, profile paths, home paths, locations etc. Pretty much everything!! You can do the same for the computers.

 

http://itunes.apple.com/gb/app/ad-helpdesk-lite/id366600333?mt=8

 

http://itunes.apple.com/gb/app/ad-helpdesk/id366597535?mt=8

 

We use one here. If you want you can take a look at ours.

 

Yes please if i could and ill take a look next week. Where would i put it? I had a look at SYNACK's link but i couldt see where it said to put it.

Posted (edited)

This is ours. Its hosted on an IIS webserver & set manaully on devices and GPO for workstations.

 

 
function FindProxyForURL(url, host)

{

//Declare proxy strings as variables

var capitaproxy = "PROXY 10.112.5.193:80";

// IP not to use proxy

if (shExpMatch(url, "*172.*")) { return "DIRECT"; }
if (shExpMatch(url, "*10.*")) { return "DIRECT"; }
if (shExpMatch(url, "*192.*")) { return "DIRECT"; }
if (shExpMatch(url, "*127.0.0.1*")) { return "DIRECT"; }
if (isPlainHostName(host)) { return "DIRECT"; }

// URLS not to use proxy server

if (shExpMatch(url, "*webmail.school.com*")) { return "DIRECT"; }


// Slect Proxy Server

if (isInNet(myIpAddress(), "172.16.4.0", "255.255.252.0")) { return capitaproxy; }
if (isInNet(myIpAddress(), "172.16.128.0", "255.255.252.0")) { return capitaproxy; }
if (isInNet(myIpAddress(), "172.16.140.0", "255.255.255.0")) { return capitaproxy; }
if (isInNet(myIpAddress(), "172.16.141.0", "255.255.255.0")) { return capitaproxy; }

else

return "DIRECT";

}

Edited by FN-GM
Posted

The servers that have the web consoles dont have iis installed on them can i put this on say my wsus server with iis installed?

 

Then how do i tell my iphone to look at it? and where do i put the pac file in iis.

 

Sorry never used pac files before!!

Posted (edited)
The servers that have the web consoles dont have iis installed on them can i put this on say my wsus server with iis installed?

 

Then how do i tell my iphone to look at it? and where do i put the pac file in iis.

 

Sorry never used pac files before!!

 

You can put it on any internal webserver that runs on port 80, again, it's Apple, there is no UI for it. You need to put the link to it in a DHCP option like in my first link to automagicly offer it to the devices. You can even put it just on a reservation if you only want it to apply to a single device.

 

http://technet.microsoft.com/en-us/library/bb794881.aspx

 

Edit: as below it looks like there is a UI for it, my bad.

Edited by SYNACK
Posted

Right ive had a look and changed the pac file above to the below. I can now access my local web consoles but now i cant access the internet!!

 

 

function FindProxyForURL(url, host)

 

{

 

//Declare proxy strings as variables

 

var proxy = "PROXY 192.168.168.21:800";

 

// IP not to use proxy

 

if (shExpMatch(url, "*172.*")) { return "DIRECT"; }

if (shExpMatch(url, "*10.*")) { return "DIRECT"; }

if (shExpMatch(url, "*192.*")) { return "DIRECT"; }

if (shExpMatch(url, "*127.0.0.1*")) { return "DIRECT"; }

if (isPlainHostName(host)) { return "DIRECT"; }

 

// Select Proxy Server

 

if (isInNet(myIpAddress(), "192.168.0.0", "255.255.248.0")) { return proxy; }

 

 

else

 

return "DIRECT";

 

}

 

have also tried below and same thing.

 

function FindProxyForURL(url, host)

{

if (isInNet(host, "192.168.0.0", "255.255.0.0")) {

return "DIRECT";

} else {

if (shExpMatch(url, "http:*"))

return "PROXY 192.168.168.21:800" ;

if (shExpMatch(url, "https:*"))

return "PROXY 192.168.168.21:800" ;

if (shExpMatch(url, "ftp:*"))

return "PROXY 192.168.168.21:800" ;

return "DIRECT";

}

}

Posted

@DSapseid you do know you have removed the execptions. So it looks like the ipad is not getting to the .pac file at all

 

How are you sending the file to the machines?

Posted

I only removed the section about urls not needing proxy. all the sites i need access to are accessed via there ip address with a custom port number (192.168.168.4:9191 being one of them). Do i need to put it back in?

 

Im sending the file to the device using stevenewmans method above.

Posted

right im really confused now. I tried the basic one from wikipedia (pac contents below) and its not letting me on the internet but i can still access the internal sites :confused:

 

function FindProxyForURL(url, host)

{

return "PROXY 192.168.168.21:800";

}

Posted
Can you browse to the location of the pac file on the ipad in the browser and see the script? Maybe it is not able to access it for some reason just leaving you with no proxy.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...