Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual NIC Server - Cannot access via Internet [SOLVED]
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
ConceptDog
n00b
n00b


Joined: 26 Nov 2005
Posts: 6

PostPosted: Fri Jan 20, 2006 12:53 pm    Post subject: Dual NIC Server - Cannot access via Internet [SOLVED] Reply with quote

Hi all,

We've set up a gentoo server with apache, openssh, and samba. It's dual homed with the intent of allowing http and ssh access from inside the building, via LAN and outside the building via internet. Samba is also enabled on the LAN NIC to allow it to join our Win 2k domain and allow file transfer.

Here's the issue we've run into. Web serving / Internet access from within the building works great, however, when we open the ports on the firewall protecting the internet connection, most of the time, we cannot connect via ssh or http. Most of the time being that sometimes we can get a connection, if it's with SSH, it connects and stays connected, with http, we get a few pages, then it starts timing out again.

Packet capture at the router shows that data is getting through, but sometimes, none comes back. If I disable the internal NIC leaving only the internet connected NIC, we seem to be able to make connections and serve pages 100% of the time.

I'm lost as to what to look at next. The server was set up with a hardened kernel, booting to a gentoo kernel hasn't helped. It's not an option to just put all traffic on the internet NIC, as that would involve dual homing everyone in the office to work on it.

Any help or thoughts about what I should try next would be appreciated. Thanks!
Back to top
View user's profile Send private message
ConceptDog
n00b
n00b


Joined: 26 Nov 2005
Posts: 6

PostPosted: Fri Jan 20, 2006 5:20 pm    Post subject: Reply with quote

Turns out that the problem was with routing when two nics are installed. Following the instructions here:

http://gentoo-wiki.com/TIP_Dual-Homed_Gentoo_Server

Plus adding the correct routing to both tables allowed traffic served to that nic to be returned on that same connection.

Thanks for everything. ^^
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