How To Find Proxy Server Port and IP

1

I use a wireless network at a library which requires me to login and authenticate through a web-browser login form. Once I log in, how can I find what the details of the proxy are (IP, proxy type and port)?

I am on a Ubuntu 12 machine.

Kronos

Posted 2013-02-21T07:08:26.393

Reputation: 25

Answers

3

Assuming by 'the proxy' you mean you think the library implements an authenticating proxy to provide you Internet access? Actually what generally will happen is after authenticating, your MAC address is permitted direct access (via the libraries gateway router) to the Internet. Determine your path to a website with:

http://manpages.ubuntu.com/manpages/hardy/man8/traceroute-nanog.genuine.8.html

traceroute

The proxy server will be one of if not the first 'hop' to an Internet address.

Try to match this up with the domain/address of the page you are redirected to in the first place to login to the proxy server. Remember not all network protocols such as IM will work over proxy servers - you might need to 'tunnel' these programs through the proxy using something like SOCKS.

deed02392

Posted 2013-02-21T07:08:26.393

Reputation: 2 662

Putting ´traceroute` will do nothing. This answer should explain more clearly how to do it. – Totty.js – 2015-02-02T12:23:46.203

@Totty.js Also provided above is a link to the manual on using traceroute. It will refer to other tools such as tcptraceroute which might prove necessary too. – deed02392 – 2015-02-02T14:10:31.810

Even so, for a newbie like me is not easy to figure out how to do it and what to expect to do with the result. – Totty.js – 2015-02-02T15:11:14.110

Yes, I believe so because my IM clients and some other program do not work, so I am guessing there is a proxy set up. – Kronos – 2013-02-21T07:19:44.013

2It could also be that only port 80 (+443) is permitted, thus not allowing many non-browser programs. – Gogowitsch – 2013-02-21T07:31:23.830

0

If the browser can connect to all web sites, no proxy configuration is needed for it and any other programsrunning on the HTTP port 80.

Have you considered asking them? They might tell you right away that chatting / file sharing / your_favourite_tool is not welcome, or they might just tell you where/how to connect.

Have a look at SOCKS 5 proxies running on the HTTP port, often called HTTP Tunnel. You might be able to redirect all your non-browser traffic through it, and your library will very likely not block it.

Gogowitsch

Posted 2013-02-21T07:08:26.393

Reputation: 710