How do I set proxy for terminal?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I am using Lantern Proxy to open blocked websites. it's running on
http://localhost:44813
It works on Chrome well, but I want to set on Terminal. So I've run following commands:
export https_proxy='http://localhost:44813/'
export http_proxy='http://localhost:44813/'
and when I run
env | grep -i proxy
I see:
HTTP_PROXYs=http://localhost:44813/
NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://localhost:44813/
https_proxy=http://localhost:44813/
HTTPS_PROXY=http://localhost:44813/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://localhost:44813/
But I can't ping any blocked website!! how can I solve it?
command-line proxy
add a comment |Â
up vote
0
down vote
favorite
I am using Lantern Proxy to open blocked websites. it's running on
http://localhost:44813
It works on Chrome well, but I want to set on Terminal. So I've run following commands:
export https_proxy='http://localhost:44813/'
export http_proxy='http://localhost:44813/'
and when I run
env | grep -i proxy
I see:
HTTP_PROXYs=http://localhost:44813/
NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://localhost:44813/
https_proxy=http://localhost:44813/
HTTPS_PROXY=http://localhost:44813/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://localhost:44813/
But I can't ping any blocked website!! how can I solve it?
command-line proxy
6
ping
is nothttp
orhttps
, so setting these proxies should have no effect on that. Don't try toping
. Try to actually fetch web pages, it should work.
â egmont
Mar 4 at 8:56
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
2
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using Lantern Proxy to open blocked websites. it's running on
http://localhost:44813
It works on Chrome well, but I want to set on Terminal. So I've run following commands:
export https_proxy='http://localhost:44813/'
export http_proxy='http://localhost:44813/'
and when I run
env | grep -i proxy
I see:
HTTP_PROXYs=http://localhost:44813/
NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://localhost:44813/
https_proxy=http://localhost:44813/
HTTPS_PROXY=http://localhost:44813/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://localhost:44813/
But I can't ping any blocked website!! how can I solve it?
command-line proxy
I am using Lantern Proxy to open blocked websites. it's running on
http://localhost:44813
It works on Chrome well, but I want to set on Terminal. So I've run following commands:
export https_proxy='http://localhost:44813/'
export http_proxy='http://localhost:44813/'
and when I run
env | grep -i proxy
I see:
HTTP_PROXYs=http://localhost:44813/
NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://localhost:44813/
https_proxy=http://localhost:44813/
HTTPS_PROXY=http://localhost:44813/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://localhost:44813/
But I can't ping any blocked website!! how can I solve it?
command-line proxy
command-line proxy
edited Mar 5 at 20:55
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
48.2k13120228
48.2k13120228
asked Mar 4 at 8:52
Rahman Jalayer
11
11
6
ping
is nothttp
orhttps
, so setting these proxies should have no effect on that. Don't try toping
. Try to actually fetch web pages, it should work.
â egmont
Mar 4 at 8:56
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
2
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46
add a comment |Â
6
ping
is nothttp
orhttps
, so setting these proxies should have no effect on that. Don't try toping
. Try to actually fetch web pages, it should work.
â egmont
Mar 4 at 8:56
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
2
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46
6
6
ping
is not http
or https
, so setting these proxies should have no effect on that. Don't try to ping
. Try to actually fetch web pages, it should work.â egmont
Mar 4 at 8:56
ping
is not http
or https
, so setting these proxies should have no effect on that. Don't try to ping
. Try to actually fetch web pages, it should work.â egmont
Mar 4 at 8:56
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
2
2
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
The name "http proxy" implies that it is only for http/https. Using a http-proxy has no influence on the operation of other protocols.
Ping is part of ICMP and only works when you can reach the target host via IP, i.E. it is not blocked by some kind of firewall.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
The name "http proxy" implies that it is only for http/https. Using a http-proxy has no influence on the operation of other protocols.
Ping is part of ICMP and only works when you can reach the target host via IP, i.E. it is not blocked by some kind of firewall.
add a comment |Â
up vote
3
down vote
The name "http proxy" implies that it is only for http/https. Using a http-proxy has no influence on the operation of other protocols.
Ping is part of ICMP and only works when you can reach the target host via IP, i.E. it is not blocked by some kind of firewall.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
The name "http proxy" implies that it is only for http/https. Using a http-proxy has no influence on the operation of other protocols.
Ping is part of ICMP and only works when you can reach the target host via IP, i.E. it is not blocked by some kind of firewall.
The name "http proxy" implies that it is only for http/https. Using a http-proxy has no influence on the operation of other protocols.
Ping is part of ICMP and only works when you can reach the target host via IP, i.E. it is not blocked by some kind of firewall.
answered Mar 4 at 10:46
guntbert
8,759123067
8,759123067
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1011730%2fhow-do-i-set-proxy-for-terminal%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
6
ping
is nothttp
orhttps
, so setting these proxies should have no effect on that. Don't try toping
. Try to actually fetch web pages, it should work.â egmont
Mar 4 at 8:56
but when I ping unblocked site i have ping and it replyed. I just can't ping blocked websites!!
â Rahman Jalayer
Mar 4 at 9:03
Cross-posted: unix.stackexchange.com/q/428024/70524
â muru
Mar 4 at 9:23
2
"I just can't ping blocked websites!!" â this matches the very definition of "blocked", doesn't it? :-) By having a http(s) proxy, you find a different, unblocked route for http(s), but not for ping.
â egmont
Mar 4 at 10:43
Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP. In addition, bypassing a proxy in your setup is trivial. If you want a filtering proxy, you probably don't want the clients to have a route to the Internet, but rather force them to go trough your proxy.
â vidarlo
Mar 4 at 10:46