General :: Force Wget Proxy To Non Environment Proxy?
Aug 17, 2010
is there a way to force wget to use a specific squid proxy when making connections ? - I use a squid proxy normally, but I need this specific request to go via a different one. I dont have to use wget, I just need a way to test squid's blocking rules by requesting various pages through it, this proxy is not my normally proxy on the network and so I cant rely on wget taking the environment variable.
Also, this is as part of a script, so anything that avoids editing wget config files would be best. - Perhaps curl can do this ? - currently im using the exit code of wget to determine if the connection was made.
I've been doing some security testing in a lab environment that does not have direct internet access. It's actually a little complicated: From home to connect to my lab machine, I
1. SSH to machineA. 2. SSH from machineA to machineB
where machineB is my actual lab machine. neither machineA or machineB allow anything other than SSH, and machineB is only accessible from machineA. However, I really need to run yum on machineB. I have managed to get internet access via Firefox on machineB by creating a series of SOCKS proxy via SSH.
where machineC has internet without limits placed. This is the only way I have managed to get internet working. I tried using ssh -L all the way from machineB->machineA->machineC but it didn't work (even when setting Firefox to use http proxy). I tried using ssh -D all the way, but again that doesn't work either.
I do have access via Firefox using socks proxy. However, yum update fails to retrieve mirror list, and from what I have found I don't believe yum supports socks proxy directly. Instead, it uses http_proxy / ftp_proxy. how to get yum to go out over the SOCKS proxy I created (same one using in Firefox)? It seems like since Firefox can access the internet and everything without issues, i should be able to get yum to tunnel through the same connection to access everything.... I tried
i want to download android developer guide from google site but code.google is forbidden from my country i want to use wget to download entire android dev guides with freedom( proxy ) that i set in firefox these for open forbidden sites ( 127.0.0.1 port:8080 ) i use this command to download entire site
When I try to use wget or install anything that uses wget to install (flash player plugin), it fails, as my IT admin blocks direct access to IPs. I see wget takes the domain and resolves it's IP and then downloads (atleast thats how I get it?), and then I get "connection refused". Is it possible to force it use the domain and not the IP?
I have installed squid as my proxy server in ubuntu 10.04 standalone system..Why i have installed squid in standalone sytem is, my friends used to access my system to browse sites and download files..So i have installed squid to block porn sites and downloads..But they simply bypass the proxy by disabling it..I know there is some way to force all browsers to go through proxy using iptables..But how to acheive it..? Is the below command suits my need..?If not what modification should i do..?
I am using VirtualBox as virtualization machine. My topology is:Quote:Internet=====(eth0)HostOS=SLackware(eth1,br0)=====(eth0)GuestOS=slackwareCondition each OS:
I've been trying to make myself anonymous, but I cant find 'Tor' anywhere, tried 'yum & kpackagekit' neither have it. I did find 'Privoxy', installed it, set proxy for HTTP and HTTPS in Firefox, but it says 'unknown proxy' when I try to use it! I've been to the Privoxy web site and read through the 'User manual', but most of it is 'geek' to me!
Currently my DHCP Server is working now what i want to have is auto detection of squid proxy in any browser but I still got an error in my dhcp server when I restart it.
My Config:
# DHCP configuration generated by Firestarter ddns-update-style interim; ignore client-updates;
I have set my environment variable for a proxy server as such [URL].. which works fine. wget rsync etc all use this proxy automatically. The problem is when I access other 10.x.x.x addresses on my private network all access goes through the proxy and is slow. How can I exclude 10.0.0.0 and 127.0.0.1 from the proxy server so that all applications obey this?
I have a webserver apache2 on debian Lenny. I am using gateway as Dom0 and rest of the operating systems are different Dom's .Using a xen virtualization setup.
I want to have a few websites http://site1.myserver.com http://myserver.com and http://myserver.com/site2 I did set up a reverse proxy environment for doing this.
Code: Dom0 LAN IP ----> 192.168.1.1 Gateway (where reverse proxy is set) DomU1 LAN IP ----> 192.168.1.13 (here myserver.com and site1.myserver.com both are hosted.) Domu2 LAN IP ----> 192.168.1.17 myserver.com/site2 is here.
Configuration on Dom0 of sites site1.myserver.com and myserver.com Virtual Host Configurations on Dom0 in /etc/apache2/sites-enabled/myserver.com (on gateway)
Code: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName myserver.com ProxyRequests off <Proxy *> Order deny,allow Allow from all .....
I am trying to set up my squid3 proxy as a transparent proxy - right now, I have to manually configure browsers to access via proxy. I understand that I have to put some rules into Iptables and also some further directives in the squid.conf.
I have a couple of specific questions. The proxy server is running on a Ubuntu 10.04 workstation and this machine also acts as a dhcp server for the network. I have just one subnet , namely 192.168.0.1-254 There is only 1 network card. Is it much easier to put in a second network card or is it just as easy to configure the existing lan card as a dual IP?
Is it necessary to configure these 2 IP's ( whether they are via 2 lan cards or dual IP on single card ) to be on different subnets. i.e ETH0 192.168.0.1 and ETH1 192.168.1.1 or is ok to have something like ETH0 192.168.0.1 and ETH1 192.168.0.254 ( where ETH0 is the one facing the LAN and ETH1 points to the modem router / switch i.e The Internet ) Where specifically do I save the Iptables rule configuration file and what must I call it ?
I am working on fc10. I connect to internet using two connections: with proxy and without proxy. Initially I had some problem in configuring yum for proxy and I resolved it by creating files proxy.sh and proxy.csh in /etc/profile.d with the required details (export_proxy).Now when I connect to my connection without proxy I have some problems .Whenever I try to do yum update I get the following error:
"[URL]: [Errno 12] Timeout: <urlopen error timed out> Trying other mirror. Error: failure: repodata/primary.xml.gz from adobe-linux-i386: [Errno 256] No more mirrors to try." what changes do I need to make in order to use yum in the connection without proxy?
At the moment I have a proxy and all the users have to configure it in the browser to access internet. I want to make the users able to browse even without configuring the proxy in the browser. but eventually it should be received in the proxy rather than giving an error to the user. I heard with transparent proxy I can redirect all the traffic from a particular network, to a particular host( ie my existing proxy).
I tried this using firewall rules. But then the existing proxy doesn't understand the protocol of the requests. I heard that it should be in the kind of proxy protocol.
I've setup squid proxy st time on centos 5.This is my current setup.squid.conf:Quote:acl our_networks src 192.168.10.0/24 ttp_access allow our_networksQuote:
internet -- modem -- Firewall --switch--squid proxy (192.168.10.100) --client workstation ((192.168.10.200) (client workstation is connected to the same switch as the squid proxy)
I have to use a proxy to get access to one website only.So, I wonder whether there is a way add the proxy IP after the website address.It seems I saw that somewhere but can't get it again.It was something like:
My employer blocks allot of sites i like to visit.nothing too kinky, just security related and some other sites.I would like to set up a proxy server on my own machine, because i can access it from work. what I'm looking for is a server that listens on port 80 and maybe has some web interface so i could type the address in instead of config my browser with the proxy.something like boratproxy.comi use fedora 14.optionnumber two is the same requirments that i can install at my web hosting provider
Is there a way to SSH into a server (my home computer) from behind a proxy that has a username and password? I read about corkscrew, but I was wondering if there is a simpler way.
my linux box in the office has an a proxy server to access the internet. i can set this on my browsers. id like to know how i give my shell (bash) the proxy server settings so i can wget,yum install perl modules, etc. on my shell terminal without problems.
just a quick question. I was wondering if it is possible to do the following: suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.
If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism. Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?
Does anyone have an UP TO DATE document, or know how to set up a standard RHEL 4.1.2... 64-bit box to be a YUM Proxy machine? I have found several manuals, all being dated a while ago.
Connected to the DSL-MODEM is the PC in question that I can't connect to when using Squid. If I bypass the Squid from the Network and go through the router I can connect to the PC.
I want to be able to use the Squid server and still access the PC connected to the Modem and I want to have a Squid SAR report of the Network PC's accessing the PC on the modem.
The Modem/Router/Squid/Network all use the same IP range, but the PC on the modem has a different IP.
'm trying to access remotely to my computer that is in my home with a VNC client. The problem is that from my company site, I'm behind a proxy and I must use this proxy to connect my computer.I'm new to the vnc programs, so I don't know how to define a connection to use the proxy. My laptop is well configured, the only problem is set a vnc client to use a defined proxy. 1 - I've installed VNC viewer or tightvnc viewer, but I can't find any option in it to define a proxy. How can I define a proxy in this program?2 - Is there any vnc client that allows to define a proxy?3 - Should I define a tunnel that redirects my connection to my remote PC? For example, if I define a tunnels that from localhost:5656 it connects to my remotePCort through the proxy will I hane any problem