LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Thread Tools
Old 03-08-2009, 04:57 AM   #1
scream
LQ Newbie
 
Registered: Feb 2008
Posts: 9
Thanked: 0
how to redirect squid traffic to a specific nic card


[Log in to get rid of this advertisement]
Hi,
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?

thanks
scream is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 01:55 AM.

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