Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-08-2009, 04:57 AM   #1
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 32

Rep: Reputation: 0
how to redirect squid traffic to a specific nic card

i am running squid and Qmail in the same server. it is also act as a internet gateway. i have 3 nic card in it. one has local ip and 2 has real ip. i want to route all internet traffic through one nic and the other nic (eth1) with real ip can only be use by mail server. let me explain a little more.
say i have 3 nic.
eth0 has local ip
eth1 has real ip
eth2 has real ip

all the traffic of squid will go through eth1. and all the smtp traffic will go through eth2.

can any one tell me how to do it?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tcp proxy with one nic, redirect traffic to other IP RattleSn@ke Linux - Networking 3 03-09-2009 08:34 AM
redirect traffic tim_24 Linux - Networking 4 05-28-2007 12:39 AM
NFS - How can I direct traffic to a specific nic? gislil Linux - Networking 2 10-25-2006 05:59 AM
redirect traffic tim24 Linux - Networking 5 04-06-2006 11:45 AM
Need to route traffic through specific nic cards... Thaidog Linux - Networking 4 07-01-2005 08:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration