Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use iptables to direct web traffic?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
d4mo
Guru
Guru


Joined: 27 Jun 2005
Posts: 430

PostPosted: Sat Dec 01, 2012 6:17 pm    Post subject: Use iptables to direct web traffic? Reply with quote

If I have 2 NICS, can I use iptables to direct all web traffic out/in a specfic nic?
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sat Dec 01, 2012 6:33 pm    Post subject: Re: Use iptables to direct web traffic? Reply with quote

d4mo wrote:
If I have 2 NICS, can I use iptables to direct all web traffic out/in a specfic nic?

Do you mean you want to practice ip forwarding ?
_________________
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Dec 01, 2012 7:57 pm    Post subject: Reply with quote

Use the route command, with the metric option (to set priority).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum