Networking :: Proxy.pac File Is Not Working
May 29, 2010
I want to use PAC file as I work with multiple networks. But this is not working for me. Following is the code of my pac file. Can someone tell me what's wrong with it?
Code:
function FindProxyForURL(url, host) {
if (isInNet(myIpAddress(), "10.6.0.0", "255.255.0.0")) {
return "PROXY myproxy:port";
}
return "DIRECT" ;
}
Browser I use Firefox and platform Ubuntu.
View 14 Replies
ADVERTISEMENT
Dec 8, 2010
I'm having an issue on multiple Lucid boxes where I can't get proxy ARP to work. This is to be used in conjunction with openswan IPSec. I've enabled forwarding and disabled sending/accepting ICMP redirects for each interface as per openswan's requirements. I've added the proxy arp lines for all, default, eth0, and lo to sysctl.conf:
Code:
net.ipv4.conf.eth0.proxy_arp = 1
I then connect the IPSec client, and I have connectivity to the server. When I try to ping (or otherwise access) something else on its subnet, I reach the intended target, but then it ARPs for the sending machine, and the Ubuntu server doesn't respond to the ARP.
I have an ARP entry that looks like this, added via arp -s 192.168.254.100 -D eth0 -i eth0 pub:
Address: 192.168.254.100 (the correct virtual IP for the client)
HWtype: *
HWaddress: <from_interface>
Flags Mask: MP
Iface: eth0
Best I can tell, everything is in order... I can listen in with wireshark on the server and see that it's receiving the ARPs, but I can't get it to respond to them.
View 1 Replies
View Related
Dec 10, 2010
I was having trouble getting update-manager to work behind a proxy (without authentication). I tried everything I could find in my search, including setting http_proxy environment variable, setting the System->Preferences->Network Proxy and setting the Synaptic package manager proxy settings. Nothing seemed to work.
It turns out that the problem was that the System->Preferences->Network Proxy allows "automatic" proxy (pac file), and I had used that. update-manager doesn't do anything with this setting I guess. I changed from the automatic setting to a host/port manual setting and it began working.
I suspect this qualifies as a bug. update-manager should do something more reasonable than quietly fail if the settings are for automatic - it would be really nice if it worked, and if not then an error message.
View 5 Replies
View Related
May 1, 2009
I am using Fedora Core 9.0 and Squid Cache: Version 3.0.STABLE2 .
Now i am trying to use the squid as a proxy server but its not working its giving error like this ...
While trying to retrieve the URL: /
The following error was encountered:
Invalid URL Some aspect of the requested URL is incorrect.
Possible problems:
Here is my squid.conf
While trying to retrieve the URL: /
I have also try to forward the traffic coming on 3128 to 80 but its not working:
View 6 Replies
View Related
Jul 13, 2011
In my company have proxy server using Linux.
Ip Address Proxy Server 1 is: 123.16.201.23
Ip Address Proxy Server 2 is: 123.16.201.24
Every Client: 123.16.3.25,....
and 123.16.4.25,.....
....
- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.
- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?
- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).
I just go to company so i have everything don't know system.
View 2 Replies
View Related
Dec 9, 2010
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;
[code]....
View 2 Replies
View Related
Oct 28, 2009
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.
View 1 Replies
View Related
Feb 23, 2010
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)
[code]...
View 1 Replies
View Related
Sep 8, 2010
I've Installed CentOS 5.5 on an HP Compaq DK2300 with Intel Pentium dual Core.Connected to a network with HTTP Proxy at cmsbs1 port 8080.
via the System/Preferences/NetworkProxy, I set up the relevant info including Username and Password
env | grep proxy
http_proxy=http://Username:Password@cmsbs1:8080/
no_proxy=localhost,127.0.0.0/8
Now able to connect to the internet with Mozilla Firefox. Package Updater still not receiving updates....Opened Terminal window and logged in as root: Added following to the yum.conf file:
proxy=http://cmsbs1:8080/
proxy_username=Username
proxy_password=Password
Saved the file and re-start the system (full re-boot). Opened Terminal window and logged in as root:
yum list
Loaded plugins: fastestmirror
Loading mirror speeds from catched host file
[code]....
View 3 Replies
View Related
Feb 24, 2010
I am using FEDORA 11 and Squid 3. Squid configured and working perfectly but some Win XP users unable to access their mails through outlook express. can anybody guide me what should i do to enable pop/smtp ports via through nating / MASQUERADE etc..
View 1 Replies
View Related
Feb 24, 2010
So, I have 2 computers both running fedora 12. I have installed NFS, all of the nfs utilities, and the system-config-nfs thing. I have unblocked the ports in the firewall. I am certain that NFS is running (or at least that when I nmap myself, an nfs port is open).However, when I go into nautilus and go to network, it shows windows network, but no other computers.If I run nmap on localhost, or on my OWN IP, it shows that it's up. and NFS is up. but when I NMap the other computer, it's hidden and blocking ping probes (though using nmap -PN will penetrate that mask, and show that it too has NFS open.)
So, how can I get these two computers to recognize each other? or am I doing this whole thing all wrong? I'm just trying to set up file sharing.
View 3 Replies
View Related
Feb 19, 2011
I have just installed ubuntu 10.10 and my wireless adaptor is not recognised! My wireless adaptor is an Accton WN4201B and the driver does not contain an INF file!
View 2 Replies
View Related
Jul 9, 2011
I am trying to set up Apache and Webmin so that I can access Webmin by going to [URL]. I am using the direction at [URL] under the "Webmin In A Sub-Directory Via A Proxy" section. I had this setup working before, but I think an update of either Webmin or Apache broke it. Now, I can go the the webpage and I see the login screen. However, when I try to log in, I get an error.
Quote:
Error - No cookies
Your browser does not support cookies, which are required for this web server to work in session authentication mode I have tried adding the ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath directives to my virtual host config file, but it still doesn't work.
Quote:
# webmin
ProxyPass /webmin/ http://localhost:10000/
ProxyPassReverse /webmin/ http://localhost:10000/
[code].....
View 1 Replies
View Related
May 23, 2010
I have a desktop and laptop both running ubuntu 10.04. I have them going through a wireless router, the desktop is wired of coarse. I installed just about all the samba packages in synaptic that have the little ubuntu symbol next to them on both desktop and laptop except the Kde and document packages. I installed the two necessary packages to enable personal file sharing to work. But I can't seem to access files back and forth from these computers.
View 5 Replies
View Related
Jun 6, 2010
I am at a total loss. For all intents and purposes - sharing files over a lan without a password between this ubuntu 10.04 machine and my wifes laptop (windows 7) should be trouble free. I've installed samba, and created an smb.conf file in /etc/samba
Code:
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = oak
security = share
[Code]....
I want to note that I was using Arch Linux and this exact setup worked flawlessly. Why on earth would it not work the same in Ubuntu? Is it not the same Samba?
View 5 Replies
View Related
Apr 29, 2011
trying to share a few folders with Windows PCs. Usually I just right click and choose "Sharing Options" from nautilus and choose to share it. This isn't there in gnome 3 via gnome3 ppa for Ubuntu. I've tried installing and adding the folders I wanted using samba configuration tool and gadmin-samba tools. I've also installed just about anything that could potentially have anything to do with file sharing from synaptic including:
samba, nautilus-share, smbclient, windbind
and whole lot of other stuff in hope that I had just been missing stuff. I also booted my laptop which is running 11.04 with Unity and I right clicked and selected "Sharing Options" like the usual way and shared a folder and then installed gadmin-samba and the samba configuration tools and the folder I shared wasn't included there. Meaning it isn't using the same thing? Also the only thing installed when shareing a folder is samba and some libpam-something. Two files! Then shares perfectly! Why is it so difficult to set up a simple share with Gnome 3? No matter what I do I boot into Windows on my laptop and try to connect to my network share the same way I always have and it doesn't work.
View 9 Replies
View Related
Dec 1, 2010
I set up a Ubuntu Server for my home network to share among Win XP and Ubuntumachines.Initially everything worked fine with all Win XP machines being able to share files on the server; however, after I installed and setup SSH between my Ubuntu machines and my Ubuntu Server I now cannot share and/or even see my Server directory from Win XP or Ubuntu machines through the Samba.I have tried for 2 days to figure out the problem without success.Did I break something while setting up the SSH? How can I fix Samba?Here's some things I have setup or tried so far:1. Samba users are setup and were working previously.2. Samba share drives were setup and working previously.3. I can see the Server using SSH or SFTP from my Ubuntu machines.4. I have gone over the Samba config file numerous times5. I am administering Samba on the server via the terminal and Webmin
View 9 Replies
View Related
Jul 30, 2010
In my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?
View 9 Replies
View Related
Nov 6, 2010
I have configured a squid proxy server with @2 eth in different network subnet and with site blocking and extn file download blocking. One eth0 for office wired network and another eth1 is for office wireless network for laptop use for guest and visitors.
The problem is [URL] is an Indian government website, which is not working though this proxy server and the Internet Explorer is getting very slow and freezing the computer. In alternate I have configured a another test server with squid proxy with out any security and test the same. the problem is still with the all the computer in the network. The above website is perfectly working with Gateway configuration in TCP/IP properties in Network Configuration in MS Windows XP computers but through squid proxy its not working.
View 3 Replies
View Related
May 16, 2011
im using a lease line on real ip for internet connection in my office.i have shared my internet conetion with a squid 2.6 stable6. i m having almost 200 pc in my office.since last few days my squid is creating a problem.as soon as i restart it ,it work fine but after a few minute it becomes extremely slow ..it almost dies.when i go to its cache log i found the error that your cache is running out of file descriptor...once i increased the no of file descrptor from 1024 to 4028 , the problem temporaily sorted out but after a few days same problem is repetaed ....and still the problem exist
View 3 Replies
View Related
Jul 7, 2010
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!
View 8 Replies
View Related
Feb 23, 2011
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 ?
View 4 Replies
View Related
Feb 27, 2010
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.
1. machineB: ssh -L 12345:localhost:12345 user@machineA
2. machineA: ssh -D 12345 user@machineC
3. machineB: configure firefox to use socks proxy, localhost, 12345
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
[URL]
View 1 Replies
View Related
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.
View 1 Replies
View Related
Sep 1, 2009
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?
View 3 Replies
View Related
Aug 7, 2011
how do i set the proxy in fedora and also editing the update location from the add or remove software in fedora 15.
View 1 Replies
View Related
Aug 12, 2010
I just installed the Lucid server, set IP address, Default gateway and Preferred DNSs and need to be able to use apt-get. Right now this is not possible and my guess is that I have not set the proxy used in my LAN (which is 192.168.255.60:8080) cause I have no clue how to do it.I can ping every other machine locally but not on the Internet...
View 8 Replies
View Related
Dec 12, 2008
I want to set up a web proxy on my laptop so I can access the net from my cell phone without using verizon's proxy. I don't understand exactly how proxies work, but I was wondering if this is possible to set up a proxy without a domain.
View 3 Replies
View Related
Feb 17, 2010
When setting up an SSH proxy, I know you can configure Firefox to route DNS requests through the proxy. Is this possible from linux directly? I'm trying to use wget through the proxy, including DNS lookups.
View 3 Replies
View Related
Apr 3, 2009
I have a netbook running Fedora 10 that i use for work, whilst at work i move around allot of schools. Each have varying proxy settings etc... So i was wondering if it was possible to set the system proxy (the one in System->Preferances->Internet And Network->Network Proxy) from bash. That way i can write a script that looks at my IP (each school has a diff ip e.g. 10.x.y.z) and then sets the system proxy accordingly.
View 6 Replies
View Related