apt-get over proxy, error “405 Method Not Allowed”Privoxy Installation of source code will not workConvince apt-get *not* to use IPv6 methodHow to resolve issue of system proxy?apt-get via ssh-tunnel if only port 22 is allowedConfigure Tor Browser to run over SSH SOCKS proxy?Start proxy on system bootHow to tell if package managers are being blocked by proxynginx reverse proxy: host not allowed errorssh tunnel does not workCan't apt update after deleting proxylive-build behind a proxy at lb bootstrap_archive-keys step gets Clearsigned file isn't valid, got 'NODATA'
Deciding between multiple birth names and dates?
How to manage monthly salary
What is the offset in a seaplane's hull?
New order #4: World
What does "enim et" mean?
What is GPS' 19 year rollover and does it present a cybersecurity issue?
aging parents with no investments
How would photo IDs work for shapeshifters?
What is the command to reset a PC without deleting any files
What happens when a metallic dragon and a chromatic dragon mate?
How can I add custom success page
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
Crop image to path created in TikZ?
Symmetry in quantum mechanics
Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore
Unbreakable Formation vs. Cry of the Carnarium
Why do we use polarized capacitors?
Need help identifying/translating a plaque in Tangier, Morocco
Domain expired, GoDaddy holds it and is asking more money
Prime joint compound before latex paint?
Mapping arrows in commutative diagrams
Is Social Media Science Fiction?
Could Giant Ground Sloths have been a Good Pack Animal for the Ancient Mayans
"listening to me about as much as you're listening to this pole here"
apt-get over proxy, error “405 Method Not Allowed”
Privoxy Installation of source code will not workConvince apt-get *not* to use IPv6 methodHow to resolve issue of system proxy?apt-get via ssh-tunnel if only port 22 is allowedConfigure Tor Browser to run over SSH SOCKS proxy?Start proxy on system bootHow to tell if package managers are being blocked by proxynginx reverse proxy: host not allowed errorssh tunnel does not workCan't apt update after deleting proxylive-build behind a proxy at lb bootstrap_archive-keys step gets Clearsigned file isn't valid, got 'NODATA'
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I try to setup the Advanced Packaging Tool (apt-get) to work over TOR. The Web-Browser is working fine, YouTube-DL needs --proxy "socks5://127.0.0.1:9050", wget douse not work
wget: unable to resolve host address
and some other Programs working fine over TOR
I already tryd this all:
torrc
SOCKSPort 127.0.0.1:9050
HTTPTunnelPort 127.0.0.1:3030
/etc/environment
http_proxy="http://127.0.0.1:3030"
bash.bashrc
export https_proxy=https://127.0.0.1:3030
/etc/apt/apt.conf
Acquire::http::Proxy "http://127.0.0.1:3030";



apt proxy tor
add a comment |
I try to setup the Advanced Packaging Tool (apt-get) to work over TOR. The Web-Browser is working fine, YouTube-DL needs --proxy "socks5://127.0.0.1:9050", wget douse not work
wget: unable to resolve host address
and some other Programs working fine over TOR
I already tryd this all:
torrc
SOCKSPort 127.0.0.1:9050
HTTPTunnelPort 127.0.0.1:3030
/etc/environment
http_proxy="http://127.0.0.1:3030"
bash.bashrc
export https_proxy=https://127.0.0.1:3030
/etc/apt/apt.conf
Acquire::http::Proxy "http://127.0.0.1:3030";



apt proxy tor
add a comment |
I try to setup the Advanced Packaging Tool (apt-get) to work over TOR. The Web-Browser is working fine, YouTube-DL needs --proxy "socks5://127.0.0.1:9050", wget douse not work
wget: unable to resolve host address
and some other Programs working fine over TOR
I already tryd this all:
torrc
SOCKSPort 127.0.0.1:9050
HTTPTunnelPort 127.0.0.1:3030
/etc/environment
http_proxy="http://127.0.0.1:3030"
bash.bashrc
export https_proxy=https://127.0.0.1:3030
/etc/apt/apt.conf
Acquire::http::Proxy "http://127.0.0.1:3030";



apt proxy tor
I try to setup the Advanced Packaging Tool (apt-get) to work over TOR. The Web-Browser is working fine, YouTube-DL needs --proxy "socks5://127.0.0.1:9050", wget douse not work
wget: unable to resolve host address
and some other Programs working fine over TOR
I already tryd this all:
torrc
SOCKSPort 127.0.0.1:9050
HTTPTunnelPort 127.0.0.1:3030
/etc/environment
http_proxy="http://127.0.0.1:3030"
bash.bashrc
export https_proxy=https://127.0.0.1:3030
/etc/apt/apt.conf
Acquire::http::Proxy "http://127.0.0.1:3030";



apt proxy tor
apt proxy tor
edited Apr 5 at 17:09
Bandoler
asked Apr 5 at 16:28
BandolerBandoler
94
94
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
apt-get does not support socks proxies. You need to be sure if the tool you are using does have support to it. That is probably why you get those "405" messages.
Method 1
Privoxy is the guy you should check out to "convert" your socks5 connections into http proxy, so you will have a local http proxy without cache.
First, clear your http_proxy variable, but keep your tor service running and installed. After that, install privoxy:
sudo apt install privoxy
Edit /etc/privoxy/config and add the following line(no mistakes here, there is a dot at the end of the line)
forward-socks5 / localhost:9050 .
This way, all your requests to privoxy will be redirect to tor. Ascii art to help :)
+--------+http +---------+socks5 +------+
| apt|get+-----> privoxy +------>+ tor +--------> INTERNET
+--------+ +---------+ +------+
Restart privoxy and export the http_variable
sudo systemctl restart privoxy
http_proxy="localhost:8118"
Method 2
Use torsocks to encapsulate all your requests through tor. On this second method, i'm still assuming you have tor already working and configured on it's default ports.
sudo apt install torsocks
Then
sudo torsocks apt update
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try usingtorsockstoo :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.
– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (makeworks butmake installdont)
– nwildner
Apr 5 at 19:07
|
show 4 more comments
There is a typo on your http(s) settings. It missing a //
It should be:
http_proxy="http://127.0.0.1:3030"
https_proxy="https://127.0.0.1:3030"
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510754%2fapt-get-over-proxy-error-405-method-not-allowed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
apt-get does not support socks proxies. You need to be sure if the tool you are using does have support to it. That is probably why you get those "405" messages.
Method 1
Privoxy is the guy you should check out to "convert" your socks5 connections into http proxy, so you will have a local http proxy without cache.
First, clear your http_proxy variable, but keep your tor service running and installed. After that, install privoxy:
sudo apt install privoxy
Edit /etc/privoxy/config and add the following line(no mistakes here, there is a dot at the end of the line)
forward-socks5 / localhost:9050 .
This way, all your requests to privoxy will be redirect to tor. Ascii art to help :)
+--------+http +---------+socks5 +------+
| apt|get+-----> privoxy +------>+ tor +--------> INTERNET
+--------+ +---------+ +------+
Restart privoxy and export the http_variable
sudo systemctl restart privoxy
http_proxy="localhost:8118"
Method 2
Use torsocks to encapsulate all your requests through tor. On this second method, i'm still assuming you have tor already working and configured on it's default ports.
sudo apt install torsocks
Then
sudo torsocks apt update
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try usingtorsockstoo :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.
– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (makeworks butmake installdont)
– nwildner
Apr 5 at 19:07
|
show 4 more comments
apt-get does not support socks proxies. You need to be sure if the tool you are using does have support to it. That is probably why you get those "405" messages.
Method 1
Privoxy is the guy you should check out to "convert" your socks5 connections into http proxy, so you will have a local http proxy without cache.
First, clear your http_proxy variable, but keep your tor service running and installed. After that, install privoxy:
sudo apt install privoxy
Edit /etc/privoxy/config and add the following line(no mistakes here, there is a dot at the end of the line)
forward-socks5 / localhost:9050 .
This way, all your requests to privoxy will be redirect to tor. Ascii art to help :)
+--------+http +---------+socks5 +------+
| apt|get+-----> privoxy +------>+ tor +--------> INTERNET
+--------+ +---------+ +------+
Restart privoxy and export the http_variable
sudo systemctl restart privoxy
http_proxy="localhost:8118"
Method 2
Use torsocks to encapsulate all your requests through tor. On this second method, i'm still assuming you have tor already working and configured on it's default ports.
sudo apt install torsocks
Then
sudo torsocks apt update
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try usingtorsockstoo :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.
– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (makeworks butmake installdont)
– nwildner
Apr 5 at 19:07
|
show 4 more comments
apt-get does not support socks proxies. You need to be sure if the tool you are using does have support to it. That is probably why you get those "405" messages.
Method 1
Privoxy is the guy you should check out to "convert" your socks5 connections into http proxy, so you will have a local http proxy without cache.
First, clear your http_proxy variable, but keep your tor service running and installed. After that, install privoxy:
sudo apt install privoxy
Edit /etc/privoxy/config and add the following line(no mistakes here, there is a dot at the end of the line)
forward-socks5 / localhost:9050 .
This way, all your requests to privoxy will be redirect to tor. Ascii art to help :)
+--------+http +---------+socks5 +------+
| apt|get+-----> privoxy +------>+ tor +--------> INTERNET
+--------+ +---------+ +------+
Restart privoxy and export the http_variable
sudo systemctl restart privoxy
http_proxy="localhost:8118"
Method 2
Use torsocks to encapsulate all your requests through tor. On this second method, i'm still assuming you have tor already working and configured on it's default ports.
sudo apt install torsocks
Then
sudo torsocks apt update
apt-get does not support socks proxies. You need to be sure if the tool you are using does have support to it. That is probably why you get those "405" messages.
Method 1
Privoxy is the guy you should check out to "convert" your socks5 connections into http proxy, so you will have a local http proxy without cache.
First, clear your http_proxy variable, but keep your tor service running and installed. After that, install privoxy:
sudo apt install privoxy
Edit /etc/privoxy/config and add the following line(no mistakes here, there is a dot at the end of the line)
forward-socks5 / localhost:9050 .
This way, all your requests to privoxy will be redirect to tor. Ascii art to help :)
+--------+http +---------+socks5 +------+
| apt|get+-----> privoxy +------>+ tor +--------> INTERNET
+--------+ +---------+ +------+
Restart privoxy and export the http_variable
sudo systemctl restart privoxy
http_proxy="localhost:8118"
Method 2
Use torsocks to encapsulate all your requests through tor. On this second method, i'm still assuming you have tor already working and configured on it's default ports.
sudo apt install torsocks
Then
sudo torsocks apt update
edited Apr 5 at 16:52
answered Apr 5 at 16:44
nwildnernwildner
15k34581
15k34581
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try usingtorsockstoo :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.
– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (makeworks butmake installdont)
– nwildner
Apr 5 at 19:07
|
show 4 more comments
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try usingtorsockstoo :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.
– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (makeworks butmake installdont)
– nwildner
Apr 5 at 19:07
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
If all the data go´s through a proxy, my online games will have a terrible ping.
– Bandoler
Apr 5 at 17:32
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
nice... torsocks is working fine. THX -- VLC streaming over *TOR is not working anymore, in Ubuntu 16.04 it works on the same settings as i have now in 18.04?
– Bandoler
Apr 5 at 18:00
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try using
torsocks too :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.– nwildner
Apr 5 at 18:23
Well, about VLC, it seems that it never officially supported socks5 as you can see here - trac.videolan.org/vlc/ticket/20675?cversion=0&cnum_hist=6 - Try using
torsocks too :) . If you take a time to think, this "proxy" done by privoxy is only a "translator" from socks5 to http, and it listens to your localhost address. I can't imagine how it would interfere with your gaming if don't use it.– nwildner
Apr 5 at 18:23
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
I already try´d torsocks with vlc by starting vlc in command line torsocks vlc but it douse not work. I trying to install Privoxy from source code but it douse not work. I followed the INSTALL instruction but the program won´t get installed.
– Bandoler
Apr 5 at 19:00
It is at least compiling? (
make works but make install dont)– nwildner
Apr 5 at 19:07
It is at least compiling? (
make works but make install dont)– nwildner
Apr 5 at 19:07
|
show 4 more comments
There is a typo on your http(s) settings. It missing a //
It should be:
http_proxy="http://127.0.0.1:3030"
https_proxy="https://127.0.0.1:3030"
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
add a comment |
There is a typo on your http(s) settings. It missing a //
It should be:
http_proxy="http://127.0.0.1:3030"
https_proxy="https://127.0.0.1:3030"
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
add a comment |
There is a typo on your http(s) settings. It missing a //
It should be:
http_proxy="http://127.0.0.1:3030"
https_proxy="https://127.0.0.1:3030"
There is a typo on your http(s) settings. It missing a //
It should be:
http_proxy="http://127.0.0.1:3030"
https_proxy="https://127.0.0.1:3030"
answered Apr 5 at 16:40
Rui F RibeiroRui F Ribeiro
42k1483142
42k1483142
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
add a comment |
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
its just in this trade
– Bandoler
Apr 5 at 17:02
its just in this trade
– Bandoler
Apr 5 at 17:02
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
I added the second line https_proxy="127.0.0.1:3030". Still not working.
– Bandoler
Apr 5 at 17:27
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510754%2fapt-get-over-proxy-error-405-method-not-allowed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown