I am using squid 3.1.12 as a proxy cache. All the requests initially land on a Apache server which acts as a reverse proxy server, the Apache redirects some URLs based on the context to Squid server. This Squid server based on the URL needs to forward the request to the specific tomcat server where the application is deployed. I am able to configure just for one application but how do I configure multiple tomcat servers(each tomcat having different application deployed on it). Squid needs to redirect based on the URL.In Squid.conf I made the following changes
Here Squid is deployed on my host [URL], Apache redirects any URLS with the context 'ABC' or 'DEF' to squid. Squid needs to redirect it to the individual hosts thats [URL] or [URL] based on the URL. I have commented the entry for DEF in my squid.conf as it was not working. But it does work for any URLs with ABC as the context.
how to connect the database to proxy server.example:: this is the acl in squid.conf to block the website.the keyword that want to block store in file .txt
a bit info, the data that stored in database is a keyword to block the website if a keyword in blacklist match with the url that want access by user. if match so then the user cannot access the website.
I am not able to use outlook or any other email client on my computer(to access gmail account) I am also not able to forward port to my computer for a bit torrent client
I can access the internet using proxy settings
I have just installed CentOS 5 as a server with 2 NIC's for my home network.
My set up is something like this
adsl wireless router(static ip from ISP) - (192.168.0.1/24) Cent os server (10.1.1.1/8) - switch/hub - clients(windows XP/Vista,Linux)
the linux server acts as a Web Server,DHCP and Squid proxy server
Will installing an email server resolve my problem?
I tried to install vsftpd on my server and while the installation went fine, I can't run
Code: restart vsftpd As I the get error Code:
restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Though I'm able to restart the service with
sudo /etc/init.d/vsftpd restart with a warning telling me to use the service utility. Not only that, but despite the port being open it won't allow me to log in, it just hangs, and I have local users enabled (I've used the default .conf file). Does dbus not come installed in 10.04, and if I did install it would it make a difference for restarting the service? Are there further steps needed not available in the tutorial on the Ubuntu Server Guide for 10.04 to enabling local user authentication? -edit- Figured it out, dbus wasn't installed, vsftpd is working fine now.
I install and configure the vncserver following and reading 1000papers, but all of this present the same problem; when i try to connect to my vncserver,recive this mesage: unable connect to socket: No route to host (113) The OS version is Fedora Core 14 and tigervnc-server i try different solutions including:Allow TCP connection modifing files /etc/gdm/custom.conf and /usr/share/gdm/gdm.chemas Disable SELinux removing iptables Here follow the vncserver configuration:
[code].....
The ip address of the vncserver is correct because i can do ssh on it. Where or what can i do?
I'm trying to setup PS3 media server on my new OpenSuse 11.2 and I'm being unable to connect to the PS3. The multimedia server seems to being working ok, only it has not appear on XMB.
I've been searching on PS3 Media Server forums and try a couple of solutions regarding /etc/hosts and adding full qualified domain name of server to it, but it doesn't seems to work.
I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
I just switched from Ubuntu to Fedora 13 because I was unable to get Ubuntu to connect to wireless networks. I tried everything suggested in help and forums, and kept getting "Bad Password" with WICD and Network Manager. Now, with Fedora...I still can't connect.
Problem #1: The guide says to "...make sure that the relevant wireless interface (usually eth0 or eth1) is controlled by NetworkManager," and that I do this via: System>Administration>Network
However, there is no Network option under System>Administration.
Problem #2: I open Network Manager, which displays a list of networks. I click on mine, configure it with WPA and the right password, and it fails to connect: "The network connection has been disconnected."
I've set up Ubuntu 9.04 (desktop) at home in a lab environment (workgroup rather than domain) and have configured Squid. Everything works fine but, when I took it to the next level and made the proxy transparent, my problems began. I can still access sites (having pointed the XP Pro client to the squid box as the DG) and the sites are logged in /var/log/squid/access.log but I am unable to use Outlook to access my SMTP and POP3. I guess that the setup is blocking ports 25 and 110 and I'll need to configure iptables to forward packets destined for these ports directly to the "real" DG, rather than the Squid box. Here's the set up:
A single NIC (eth0) on 172.19.0.250 / 16 (static) ADSL router ("real" DG) on 172.19.0.1 I executed iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 My squid.conf:
Code: acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 10.0.0.0/8# RFC1918 possible internal network acl localnet src 172.16.0.0/12# RFC1918 possible internal network acl mynet src 172.19.0.0/16 [Code]....
I couldn't connect my Micromax 300G modem in Debian Linux. From internet (in Windows Vista), I came across the information of USB_ModeSwitch and then I downloaded it. While going to install it, I came across the problem that TCL-interpreter is not available in Debian Linux. Then again I restarted my laptop in Windows Vista and connected my Micromax modem and from internet downloaded TCL8.5.10-src.tar.gz. But while going to install it, I came across the problem that " configure: error: no acceptable C compiler found in $PATH " . Also as presently, I am unable to connect my modem therefore I am unable to issue the code:" apt-get update ".
I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.
How can i allow this portal in squid. So squid will allow this to access.
My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
I'm trying to connect to the internet on ubuntu, but what ever i do fails. I've tried every thing i possibly can, and when all else failed, i had to come and ask. When i try to connect to the internet, it always says "unable to connect". I have no clue why. I'm choosing the default wired setting. To the side of it, it says never, so that might be the problem?
In my lan environment i've configured a server with rhel5 and a desktop with fc12.I was unable to ssh between rhel5 & fc12. when i'm trying to login through ssh i was getting following error
I'm currently using Ubuntu and have installed debian using dual boot. In debian neither my wifi card appers nor LAN interface appears. I think during installation I'm not able to install the drivers. Can anyone help me to download the driver packages for debian (than I can download in ubuntu and then use pen drive to install in debian).onsider that I'm completely new to debian and have been using ubuntu for 2 months now and is familiar with packaging.
I'm facing a problem with 'ssh'. In my lan environment i've configured a system with fc12 and one more system with fc9. When i'm trying to login through ssh from fc9 to fc12 it's working, but at the same time if i'm trying to login through ssh from fc12 to fc9 it's not working. I was getting the error "connection closed by remote host"can any one suggest me how to recover this.
I connect to the Internet via wired ethernet. The modem/gateway is 2Wire mod. 2701HG-B. Service provider is AT&T DSL. Ethernet controller is Realtek Semiconductor RTL8111/81688 PCI Express Gigabit Ethernet. When I go to System -> Administration -> Network Device Control it shows eth0 as inactive.
I'm trying to connect via ssh from a remote to a local machine.The local machine is connect to the ISP thru a wireless router. I know the ip address of the local machine from myaddress.com. The local machine is running sshd. I can ssh from the local machine to the remote, but I'm unable to ssh from the remote to the local. I know the local machine has not yet changed its port number.
after installing Fedora 15, Firefox is said unable to access internet.The firewall is set up with the wizard button and I unchecked the "stay offline" box.The computer is in dual boot with Win7, where Firefox is working,thus it's not a connection issue.So does anyone know if there is something to set up in order to make Firefox work in Fedora?
I've been using 3 different distros for the last 2 weeks. Ubuntu, Fedora and Mint. And i've been using Windows since I can remember. I won't talk here about the benefits I got with Linux, because everyone knows that. But there's something about Linux that keeps annoying me, no offence to Linux users, and I want to ask you about that.
It just seems impossible to install additional software without an Internet connection. I tried: Keryx, Opyum, Suhi,huh?, Synaptics generate download script, yum -downloadonly. I didn't yet: Debian 10DVD I'm not programmer, and my knowledge about computers and operative systems is very small. But installing software on Windows the worst case of dependencies i saw was I had to download just one more .exe file (.NET framework or klite codec pack installers, for example).
question: Is there any Linux distro or any way where packages are managed in a more compact fashion? Suppose I want to use Wine, how I download some megapackage with ALL dependencies or something like that? How system administrators manage where no Internet connection at all (if that possible)?