Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPtables/Apache question
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
dr_rockstar66
n00b
n00b


Joined: 10 Nov 2003
Posts: 41

PostPosted: Wed Feb 23, 2005 5:00 pm    Post subject: IPtables/Apache question Reply with quote

If I have two nic cards setup and working indepentantly from each other, on two separate gateways.... Is there a way to tell linux, "Hey, if you receive on eth0, then only send out on eth0" Thought maybe I could do something like this using IPtables, but not famliar enough with that. Problem is I have apache setup and it receives on both interfaces but sends out arbitraily on whatever interface... and if the receive and send of the web page doesn't happen on the same IP/Interface/ethX then it won't work. OR... perhaps there is a way to tell Apache send out on the same IP address that you received on....


Any Ideas? Please help.. :?
Back to top
View user's profile Send private message
dr_rockstar66
n00b
n00b


Joined: 10 Nov 2003
Posts: 41

PostPosted: Thu Feb 24, 2005 2:06 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Thu Feb 24, 2005 9:08 am    Post subject: Reply with quote

You have a seriously b0rked network and routing configuration if the packets are being sent back via an arbitrary interface. 8O
Back to top
View user's profile Send private message
dr_rockstar66
n00b
n00b


Joined: 10 Nov 2003
Posts: 41

PostPosted: Thu Feb 24, 2005 2:43 pm    Post subject: Reply with quote

Hey, thanks for replying. Could you take a look at this other post I made for a more indepth explaination?

https://forums.gentoo.org/viewtopic-p-2124638-highlight-.html#2124638
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