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
squid_session(8)					      System Manager's Manual						  squid_session(8)

NAME
squid_session - Squid session tracking external acl group helper SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a] DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time- out timer. Intended use is for displaying "terms of use" pages, ad popups etc. -t idletimeout (default 3600) Specifies the session idle timeout timer. -b dbpath Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time Squid restarts it's helpers (Squid restart or rotation of logs). -a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN, or terminated by the argument LOGOUT. Without this flag the helper automatically starts the session after the first request. EXAMPLE
Configuration example using the default automatic mode external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session acl session external session http_access deny !session deny_info http://your.server/bannerpage?url=%s session Then set up http://your.server/bannerpage to display a session startup page and then redirect the user back to the requested URL given in the url query parameter. AUTHOR
This helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net> QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>. REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid- cache.org> SEE ALSO
squid(8) Version 1.0 19 March 2006 squid_session(8)
All times are GMT -4. The time now is 09:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy