How do you setup 2 nic cards for squid Ubuntu server?

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems Linux Ubuntu How do you setup 2 nic cards for squid Ubuntu server?
# 1  
How do you setup 2 nic cards for squid Ubuntu server?

I have a made my squid proxy, I now have add another nic card to an old CPU using Ubuntu server 12.04. I have seen another post similar however I am new and did not understand some of it. Something about redirecting IP address and IP table?

I don't know how to do this.Smilie
# 2  
Are you looking for a firewall-router sort of use of the two nics, no just faillover or bandwidth? For that, the routing should take care of it.
# 3  
I believe that is correct place it like a firewall.. it would be: internet modem, then proxy, then rest of computers. The computers would have to sign on to proxy to get to the internet. That is possible for squid? We want to monitor users because we have terminals and we do not have active directory users, so the users would be created in the squid proxy. This is possible and the best way to do correct? I didn't think a transparent proxy would do what we wanted.

I was just told i need to create a file server.

Currently, we started with a vendor proxy server. We then added n-computing (terminals) with windows 2008 server r2.. terminal server. (no active directory)

Now I am creating a proxy server (out of old parts) and it is to take the place of the vendor proxy. the vendor proxy has a user list and passwords for login on the internet.

And next project is to create a file server.

# 4  
Yes, you are describing a proxying firewall. Offhand, there are three ways through a firewall: 1) connect to a proxy that connects out for you (no packets traverse the firewall, it is done at the tcp stream level). 2) NAT, iptables and similar translators where your IP and sometimes tcp/udp port are changed to different ones assigned to the firewall for this (Your internal IPs are not used past the firewall) and 3) barefoot selected packet passage (you hosts are given limited Internet exposure, need good IP addresses). Characteristically, 1 can handle less volume than 2 which is more work for the firewall than 3.

For a proxy firewall, you do not want/need to turn on IP Forwarding, which makes the 2 nic host a router. Users connect to you, and you connect for them to the Internet, but no packets flow through. The routing is inward for inward addresses, which can be free ones like 10.*.*.* and outward for the rest. It is very simple to set up. In addition to squid, there are additional proxies like tcp_relay and sockd to shoot tcp connections through the firewall for other simple tcp protocols.
# 5  
So number 3 is easy and good for 100 so users? How do I do it.
# 6  
#3 is easy on the firewall, as it is just a filtering router, but all hosts require real IP addresses. Some firewall software can do packet inspection for viruses, I hear. That would up the ante for firewall CPU and RAM usage. For 100 users, all are probaly OK. You need to consider how many are on the net, how many are doing web with lots of little GETs, especially if they do not use HTTP/1.1 persistent connections. With proxy, that has higher overhead. And how many are doing high bandwidth, heavy data transfer -- web backup or movie download, for instance. Web proxy gives you a lot of monitoring and control options.

Last edited by DGPickett; 01-29-2013 at 10:42 AM..
# 7  
the maximum scenario would be 150 with max usage and the least 10. This is for a school Prek-12. I have squid with Webmin is that enough or do i have to download something else opensource? And I have no budget (private school with the one of the lowest tuition). Has to be easy for a layman to maintain.. if I leave. #3 will fit that? (Sorry..This has been the most confusing part of this process .. you say web proxy?) I have to have a proxy onsite?
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #739
Difficulty: Medium
BASIC was based on FORTRAN II.
True or False?

9 More Discussions You Might Find Interesting

1. Ubuntu

Help asap squid with 2 nic cards setup

I found an old post that talks about 2 nice cards and it is driven by the IP address .... but I didn't understand it because the 2 people skipped information for me the newbie.. Can someone help me... I have the proxy server setup and I believe I have enabled the 2nd nic card, I just need one... (1 Reply)
Discussion started by: trilju2005
1 Replies

2. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

3. IP Networking

Best reference for understanding low level info on nic cards drivers and functionality

Hi, What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..? Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

4. HP-UX


Hello, I am trying to move an HP UX from one locaion to another. The new location don't have any Fiber switches. On the back of my server I see 2 RJ 45 for console management the other for networking , the server also has a fiber NIC card. When I disconnec the fiber and want to user regular... (1 Reply)
Discussion started by: ldaliosmane
1 Replies

5. Red Hat

External NIC cards not pinging with each other in RHEL 5.1

We have a setup of two nodes which has two NIC cards in each. One is built in and another is D-Link (external NIC card). We are unable to ping to the external NIC cards in both. Eg: Node A has two IPs (eth0) and (eth1) and Node B has two IPs (eth0) and... (3 Replies)
Discussion started by: durgaprasadr13
3 Replies

6. HP-UX

routing issues with multiple NIC cards

I am running HP_UX 11.23 with 4 NIC cards (this is our TSM server) I have 4 subnets we are backing across. trying to keep traffic on their subnets. I only have one route statment should I add more. route add net netmask route add net netmask... (2 Replies)
Discussion started by: myork
2 Replies

7. High Performance Computing

veritas and nic cards

Hello I have 2 machines with 3 NIC cards. When I setup veritas, I receive this message: e1000g1 has an IP address configured on it. It could be a public NIC on ken. Are you sure you want to use e1000g1 for the first private heartbeat link? As if e1000g1 should not have an IP address.... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

8. IP Networking

Setup 2 NIC cards in one UNIX system

Hi; I have a UNIX box (SCO 5.0.2) with two (2) NIC cards. One card (NIC1) talks to a network 57.14.65.x/27. The other card NIC2) talks to users on 57.14.103.x and 57.14.105.x with subnet mask of If I set NIC2 to this subnet mask ( it seems like the NIC traffic is now... (2 Replies)
Discussion started by: texaspanama
2 Replies

9. Solaris

NIC cards for sunblade 100

I need to add a PCI NIC to a sunblade 100 running solaris 8. Im new to this and was hoping someone could give me some card names and models which will work for this system and has a driver for this sparc system. thanks (3 Replies)
Discussion started by: meyersp
3 Replies

Featured Tech Videos