Results 1 to 2 of 2
hi
howto test a remote proxy from the command line ?
proxy port should be open:
Code:
# telnet 192.168.0.2 3128
Trying 192.168.0.2...
Connected to 192.168.0.2.
Escape character is '^]'.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-06-2008 #1Linux Newbie
- Join Date
- Jun 2004
- Posts
- 120
test a remote proxy from the command line
hi
howto test a remote proxy from the command line ?
proxy port should be open:but what are next steps to test HTTP ?Code:# telnet 192.168.0.2 3128 Trying 192.168.0.2... Connected to 192.168.0.2. Escape character is '^]'.
I have debian Etch stable on the local machine and on the proxy server.
- 06-06-2008 #2Just Joined!
- Join Date
- Feb 2008
- Location
- France - Paris
- Posts
- 18
For advanced work on shell, you can use browser client like lynx or links2 (great
)
To test HTTP with telnet you can insert this lines.
telnet ip 3328(or 80, 443)
Trying ip...
Connected to ip.
Escape character is '^]'.
GET / HTTP/1.1
And 2 presses on Enter key
GET (or HEAD,POST,FILE ...) is action.
/ is path (like http://youip/ => / )
HTTP/1.1 is protocol version
Next you can if the is Vhost put Host: directive.
Host: youdomain.com
There are a lot of directives HTTP like useragent, charset ...


Reply With Quote
