CentOS 5 Server :: Implementing Transparent Tproxy Cache In Bridge Mode

Jun 9, 2009

any one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]

View 4 Replies


ADVERTISEMENT

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

Oct 23, 2009

what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals

1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel

Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)

View 1 Replies View Related

Server :: Squid3 Transparent Mode Not Speeding Up Internet?

Apr 3, 2010

I've setup Squid3 running on Ubuntu 9.04 64-bit server, and configured it to act as a transparent proxy and setup my router following these instructions: [URL]

Everything works great as far as browsing, but my main goal was to cache large downloads (usually executables) that I download frequently. So I set the minimum to 300KB and the max to 100MB. The problem, though, is the cache is not being used. I can download a file at regular speed on one computer, and then try and download it again and it downloads from the internet again, rather than the cache, so the speed is no faster.

Here's my config file:

Code:
#Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

[Code].....

View 1 Replies View Related

Networking :: Setup Bridge Mode For Windows Server?

Mar 3, 2010

setup linux in bridg mode for my windows server ?

my both linux and windows has 2 network cards each.

basicaly it is vLan cards, each server has 2 network cards. one to main switch and one to local IP.

data will be going like below:

internet ----------------> eth0 --> linux --> eth1 ----------------> Windows.

i have vLans on both servers. And i need cross connection setup. And use linux in bridg mode / cross connection .

actualy i want to use Iptable rules to filter bad packets and forward good packets to windows. i have scripts how to forward packets to windows. but the problem is i dont know how to setup both servers in this topology. and how to make linux as bridge.

All it should be in transparent mode. Not in NAT mode.

View 14 Replies View Related

Server :: Squid Transperant Proxy In Bridge Mode?

Sep 3, 2010

I configured squid in transperant proxy and it's working fine.Now i tried it in bridge mode for that i did setup for bridge mode and it's working fine.But i can not get any http request in squid access log.i can see traffic from my bridge. tcpdump -i br0

configure bridge:
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1

[Code]...

View 1 Replies View Related

CentOS 5 :: Can't Initialize Iptables Table `tproxy'

Mar 26, 2010

# iptables -t tproxy -n -L iptables v1.3.5: can't initialize iptables table `tproxy': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Does exist a tproxy module for CentOS's kernel (2.6.18) ?

View 1 Replies View Related

CentOS 5 Server :: Implementing A Java Program As A Service?

Jul 23, 2009

I've a java program which needs to be executed regardless of whether a user is logged in or not. Currently I've a shell script which executes the java program. I login to the server and run this shell script when the server is rebooted. I would like to start this script automatically preferably as a service so that I can stop and restart this service whenever I update the java program.

View 3 Replies View Related

Networking :: Transparent Router / Bridge - Ppp Interface

Jul 27, 2010

The challenge: I am trying to setup a piece of hardware that is transparent to the network that transfers ip packets between two interfaces without adding a "hop". Details The particular problem I'm having is that one interface is ppp, the other is ethernet. It is trivial to setup a bridge between two ethernet devices but I am having trouble finding anything for ppp<->ethernet.

Here, the ppp link is an internet connection, and the ethernet connection has exactly one device attached. Once the ppp link is negotiated, I want the ppp peer to think it's talking directly with the device on my ethernet interface and I want the device on my ethernet interface to think it's talking directly to the ppp peer.

Current solution: The best solution I currently have is to alter the routing table. When the ppp link is negotiated, I am given an ip address. I add a route that directs everything to that ip address to the eth0 device. I also set a default route to the ppp device. Now, anything that comes from the ethernet side gets forwarded to the ppp side, and anything directed towards my ip address gets forwarded to the eth0 side.

View 4 Replies View Related

Networking :: Creating A Non-transparent Network Bridge In Debian?

Apr 26, 2011

I am trying to set up a network like this:

Internet <---> Router <---> Debian server <---> Windows PC

I want the server and PC to both have internet access, and I want to be able to forward ports from the router to the server. I know how to configure the server to give the PC internet access, but how would I assign an IP address to the server and give it internet access? I have used a very similar setup a few years ago, but I can't remember how to do this.

View 5 Replies View Related

Fedora Networking :: Transparent Bridge (Packets Execute Servlet Filter)

Feb 26, 2011

I am new to fedora and I've installed fedora 14, I want to know what are the steps to make my machine act as a transparent (IP-less) bridge? Second, after setting the bridge, I want to make all the packets that passes through the bridge execute a servlet filter (to make some tests and add cookies) is it possible? Is there a simpler way to do those tests on the packets and add cookies?

View 4 Replies View Related

CentOS 5 :: Setting Up A Bridge For Use By KVM Server On New 5.5 Install?

Jun 3, 2010

I was searching for a doc on the exact steps to setup a bridge for use by my KVM setup. I needed my VMs to be bridge onto the eth0 network. Some docs I found on google seemed to be outdated.

[URL]

View 2 Replies View Related

Server :: Change From Graphic Mode To Text Mode In CentOS 5.3?

Sep 14, 2009

The system always boot up in Graphic Mode. After installation of Web Server, I want to disable Graphic Mode and change it to boot to Text Mode to save memory. Is there a way to disable graphic mode?

View 1 Replies View Related

CentOS 5 Server :: KVM + Internal Error Bridge Generation Exceeded Max Id 256

Jul 18, 2010

I did a fresh installation of centos 5.5. I installed KVM. And configured a eth1 for KVM host network and i configured eth0 to be bridged.

When i do service libvirtd reload i get: internal error Bridge generation exceeded max id 256

View 5 Replies View Related

CentOS 5 Server :: FTP PROXY Cache - Never Managed To Run

Apr 9, 2011

My past few weeks trying to cache the use frox, but never managed to run frox correctly. I need a guide for installation frox (ftp proxy or otherwise) that I can understand, because I'm still just learning. I use a superbly managed using squid for web proxy using port 3128

View 1 Replies View Related

CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?

Mar 17, 2011

I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

# cache_dir ufs /var/spool/squid 2000 16 256

I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.

View 2 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Debian :: Router Or Bridge Mode And Pppoeconf?

Sep 24, 2010

I wonder what is your opinion about the best method for using an ADSL modem. Router or bridge? I did read some articles that say "that the bridge mode gives you more stability and has higher speed". Is that true?

Furthermore, you suggest any alternative to "pppoeconf"? I've been getting this errors ( in the plog), related to "PAD packet loss" and also errors in "PPPOE Discovery", even when I am connected. When this things starts to show up on the log, my connection "pauses" for some seconds. I do not feel very safe with this program.

View 3 Replies View Related

Debian :: Switch The Kvm Network Using Bridge Mode?

Dec 20, 2008

I've successfully install kvm with private network (nat) up running. I want to switch the kvm network using bridge mode (or host-interface), but do not success. env: nic iwl4965/ kernel 2.6.27.8/ debian etch upgrade to lenny/ kvm 0.9.1/ hardware hp 6910p The doc I follow up is at [URL] The way how i set it up is to modify /etc/network/interfaces by adding following section to enable br0

Code:

allow-hotplug br0
iface br0 inet dhcp
bridge_ports wlan0
bridge_fd 9

[code]....

However, the problem is the guest os, which starts with -hda k1.img, can not access to the internet. Is there any step I miss? or it is because wireless does not support bridge (I've heard doc says that wireless does not support wireless bridge)?

View 4 Replies View Related

Networking :: Set 2 Network Cards In Bridge Mode?

Apr 7, 2010

I have installed CentOs 5.4 for Snort sensor , on the location where i intend to place the Snort sensor to listen for internal firewall leg (LAN) the switch doesn't support port mirror so i would like to create with 2 nic's bridge and pass trough the firewall internal leg my question how do i set such configuration.

View 2 Replies View Related

General :: Setting Up OpenVPN On Debian In Bridge Mode

May 12, 2011

I'm trying to setup openVPN on debian, well this worked. But every client will get the same ip (172.17.0.6 - local it is). how to set my server in bridge mode. I've read about: server-bridge LOCALIP 255.255.0.0 172.17.1.20 172.17.1.100

BUT, my server has no ipv4 address, but only ipv6: 2001:41d0:2:b2d6::542a:74a so I am not sure how I can do this.

View 1 Replies View Related

Ubuntu Networking :: OpenVPN Bridge Mode Firewall?

Nov 7, 2010

I have OpenVPN running on my Ubuntu Server just fine. I can connect over the Internet and access all my resources on the LAN via bridged mode perfectly. My server only has one LAN card and sits behind my router, which means it has a private IP address of 10.1.1.2....Which brings me to my question. I want to open up access to my friends via OpenVPN, but I don't want them to be able to access other machines on my LAN (e.g. 10.1.1.20). However, I do want them to be able to talk to each other and pass broadcasts (old LAN games), as well as my laptop (let's say 10.1.1.7).I've tried using iptables to block traffic to the LAN (such as .20), to no avail. I've been reading up and it seems as though iptables won't even filter the traffic, as it's passed at a lower layer. Is this true? If so, what do you recommend I do in order to prevent my buddies from accessing the rest of my LAN while siumultaneously allowing broadcasts pass for some very old Windows LAN games (we're talking Windows 9.

View 2 Replies View Related

Ubuntu Networking :: How To Bridge A Wlan Card In Managed Mode

Feb 3, 2011

I have 2 wlan cards. wlan0 and wlan1. wlan0 is in AP mode(Master mode) using hostap. wlan1 is connected to another wireless network and is in Managed mode. Now I want to make a bridge between wlan0 and wlan1. I do it like that:

ifconfig wlan0 0.0.0.0
ifconfig wlan1 0.0.0.0
brctl addbr mybridge
brctl addif mybridge wlan1
can't add wlan1 to bridge mybridge: Operation not supported

It doesnt work, because wlan1 is in managed mode. But Windows 7 can bridge 2 Wlan cards when one is AP and another one is STA. How to do it in Linux?

View 4 Replies View Related

Ubuntu Networking :: Configure My Box To Connect To A Modem In Bridge Mode?

Jun 27, 2011

How would I configure my box to connect to a modem in bridge mode?

I have a server at home that im migrating over to be the default-gateway/router. I have everything else setup (dns,dhcp etc) now just need the ppoe part, or so i beleive?

I have two interfaces. eth0 (lan) and eth1 ready to connect to the modem.
The modem is in bridge mode ready to go.
What is my next step? Are there any good guides, I didn't find any.

View 5 Replies View Related

CentOS 5 :: Implementing Disk Quotas Per User

Sep 29, 2010

I have installed CentOS 5.5 on a computational cluster and want to limit the disk space used per user to 10GB. I do not know what is the relation between blocks and the the volume i want (10GB). What is the values I should used in the file opend by "edquota username" command? What is the usage of inode? there are soft and hard items in columns 3 ,4 and 6,7. Which of them should be configured? here is the example by CentOS documents. I only changed the file system which is in my case /dev/sdb0 (this is mounted as /home in my system. What changes I should do to this example to limit the user to 10GB disk scape?

Disk quotas for user testuser (uid 501):
Filesystem blocks soft hard inodes soft hard
/dev/sdb0 440436 0 0 37418 0 0

View 3 Replies View Related

Hardware :: WiFi Router Netcomm NB504 -Configuring For Bridge Mode?

Jan 4, 2010

I'm interested in configuring two Netcomm NB504 WiFi routers to work in a Bridge configuration. ie. Local PCs ---> Router <----//----> Router <--- local PCs

The NB504 router doesn't appear to have a native "bridge" mode. However, it does run Linux according to the documentation. I'm interested to hear from anyone who has actually got two of these routers to work in a bridge configuration. I'm not interested in general theoretical comments - only solid advice. I am also not interested in using other hardware for this exercise - I have two of these devices available for use in this project.

View 4 Replies View Related

Red Hat / Fedora :: Run Yum Clean All Command In Non Cache Mode

Feb 8, 2011

How to run the yum command in non-cache mode. I browsed but didn't get the correct answer.

View 3 Replies View Related

CentOS 5 :: Implementing A Two-node Cluster With Shared Storage (GFS) And IP Address?

Jul 8, 2009

I am working on the beginning of implementing a two-node cluster with shared storage (GFS) and IP address. Both machines are virtual on VMware ESX 3.5, that should not make a difference, but that is the background.current status is that I have a single node cluster built with only the IP address configured within the cluster. The issue that I am having is that I have configured a service to contain only the IP address resource, however, when I go into cluster management that "service" does not register. As such, I cannot bring it online, ping it, etc. below is my cluster.conf configuration:

<?xml version="1.0"?>
<cluster alias="tmbackup" config_version="10" name="tmbackup">
<quorumd device="/dev/sdb1" interval="1" min_score="3" tko="10" votes="3">

[code]....

View 1 Replies View Related

CentOS 5 Networking :: Centos 5.2 / Hyper-V/ Bridge With Synthetic Adapters Does Not Work?

Jan 27, 2009

I have a Centos 5.2 VM running under Windows 2008 Hyper-V. If I add two "legacy Nic's" and bridge them, everything appears to work fine. However, if I remove the legacy nics and replace them with two synthetic nics (linux integration components), the nics seems to function fine UNTIL I add them to a bridge.This VM will eventually be used as a DansGuardian/Squid transparent proxy for a local library. The logical layout is represented by the attached jpg image. I have also included the ifcfg- scripts for the adapters and bridge for both scenarios.It would also be useful if someone else has Hyper-V with the integration components and dual physical nics to see if they can reproduce my symptoms on their box.Legacy Adapters:

ifcfg-br0:
DEVICE=br0
BOOTPROTO=dhcp

[code]....

View 2 Replies View Related

Server :: Implementing A Mailing List?

May 17, 2009

Myself and a friend have our own small IT business; we mainly design and build web sites for other small businesses. One of the things we would like to offer to clients is the ability to relay email addressed to their company's domain to their own personal email address (either web-based, or hosted by their ISP).

Now, clearly there is a risk of our mail relay being marked as "open", and therefore becoming black listed as a source of spam. Not something that we want to happen!setting up such a system? I understand how I would go about configuring an MTA like Postfix or Sendmail to perform such a task, but I'm unsure how I would ensure that relayed mail is delivered and we're not labeled as spammers.

I did wonder if perhaps the "mail forwarding" options in a mail server like Zimbra would get around the issue by forwarding on messages inline or as attachments within new emails (so the messages would appear to be from the account hosted on our server).

View 8 Replies View Related

CentOS 5 Server :: Htaccess Be Used Under SSL Mode?

Dec 4, 2010

I create and edit .htaccess file under /var/www/html/ directory, everything goes well as expected.
The corresponding snippet of /etc/httpd/conf/httpd.conf:

AccessFileName .htaccess
<VirtualHost *:80>
DocumentRoot /var/www/html/
ServerName www.abc.com
<Directory /var/www/html/>
AllowOverride AuthConfig

[Code]...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved