Sponsored Content
Special Forums IP Networking squid proxy: one NIC for inbound & one NIC for outbound? Post 302622833 by Corona688 on Thursday 12th of April 2012 04:17:43 PM
Old 04-12-2012
Quote:
Originally Posted by aixlover
NIC = IP.. It's the same thing. I understand this.
Not quite, since you can have more than one IP on a network card or vice versa(bridging arrangements).
Quote:
My major concerns are how to configure squid to receive http requests from one IP, and send http answers to another IP?
how to configure squid to listen on an IP is easy. See the http_port setting.

squid doesn't control and can't control how outgoing connections are routed, though. That's what the routing table is for. Whatever IP address you use as your gateway, is what any outgoing internet traffic -- squid or otherwise -- is going to try to use to connect through.

Yes, you often see squid used in two-nic arrangements.
This User Gave Thanks to Corona688 For This Post:
 

9 More Discussions You Might Find Interesting

1. Solaris

Cant configure video & nic (solaris 8 on x86)

can someone please through light on how to configure video and nic. Dimension 3000 Series, Intel Pentium 4 Processor at 2.8GHz 256MB DDR SDRAM at 400MHz EA 0.00 0.00 17 in (17 in viewable) E173FP Flat Panel Display EA Integrated Intel Extreme Graphics 2 EA Intel Pro 100M Integrated... (4 Replies)
Discussion started by: Jimmpy
4 Replies

2. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

3. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

4. 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

5. Ubuntu

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.:confused: (9 Replies)
Discussion started by: trilju2005
9 Replies

6. UNIX for Dummies Questions & Answers

File Inbound/Outbound shell script(ksh)

URGENT ---------- Post updated at 04:26 AM ---------- Previous update was at 04:23 AM ---------- (I could not post I didn't know why so I need to put the contents via reply, sorry) Hi all :D, I am a newbie of Unix shell script and I was assigned the work from user that I need to... (3 Replies)
Discussion started by: gogkub
3 Replies

7. Solaris

Haed code nxge0 nic interface with full duplex & 1000mbps

Hi All I would need to do hard code of nxge0 nic to full duplex & 1000mbps. So that whenever solaris server come up after reboot. it will show full duplex & 1000mbps setting only. Please also let me know how to do it online through command. regards (0 Replies)
Discussion started by: amity
0 Replies

8. Shell Programming and Scripting

How to track Inbound Outbound connections to PID?

I have a Application Server process that hosts my application web & EJB and JMS and Database connectios etc. Using the PID what is the best way to find out the Inbound connection sockets i.e those parties that connect to my server process on different ports numbers and Outbound connection... (2 Replies)
Discussion started by: mohtashims
2 Replies

9. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
EXT_WBINFO_GROUP_ACL.PL.IN(1)				User Contributed Perl Documentation			     EXT_WBINFO_GROUP_ACL.PL.IN(1)

NAME
ext_wbinfo_group_acl - external ACL helper for Squid to verify NT Domain group membership using wbinfo. SYNOPSIS
ext_wbinfo_group_acl [-dh] DESCRIPTION
ext_wbinfo_group_acl is an installed executable script. It uses wbinfo from Samba to lookup group membership of logged in users. This helper must be used in with an authentication scheme (typically Basic or NTLM) based on Windows NT/2000 domain users. It reads from the standard input the domain username and a list of groups and tries to match each against the groups membership of the specified username. OPTIONS
-d Write debug info to stderr. -h Print the help. -K downgrade Kerberos credentials to NTLM. CONFIGURATION
external_acl_type wbinfo_check %LOGIN /path/to/ext_wbinfo_group_acl acl allowed_group external wbinfo_check Group1 Group2 http_access allow allowed_group If the local perl interpreter is in a unusual location it may need to be added: external_acl_type wbinfo_check %LOGIN /path/to/perl /path/to/ext_wbinfo_group_acl AUTHOR
This program was written by Jerry Murdock <jmurdock@itraktech.com> This manual was written by Amos Jeffries <amosjeffries@squid-cache.org> COPYRIGHT
This program is put in the public domain by Jerry Murdock <jmurdock@itraktech.com>. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq The Squid Configuration Manual http://www.squid-cache.org/Doc/config/ perl v5.10.1 2013-07-13 EXT_WBINFO_GROUP_ACL.PL.IN(1)
All times are GMT -4. The time now is 12:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy