Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-10-2009, 08:48 PM   #1
LQ Newbie
Registered: Aug 2004
Location: Philippines
Distribution: RedHat, Debian, VectorLinux, Xandros, Trustix
Posts: 5

Rep: Reputation: 0
Debian server: VPN and NIC matters

I have a Debian server which must be placed behind a secured corporate Intranet.
Only way in is via a VPN.
The app deployed on this server needs to "call home" to a remote server via the Internet to check for latest updates, patches, data, licensing info, etc.

There are 2 NICs on this server:
- First one is configured for the Intranet LAN and the app server is listening on this NIC's IP because the app is being served to Intranet users.
- Second NIC is configured to a gateway which has Internet access, and this NIC's interface is disabled by default and is only turned on on demand.

1) How can I bridge the 2 interfaces such that the app is able to access the Internet via the 2nd NIC interface?

2) When I connect to the server through VPN from outside, I can ssh into the server but the moment I do "ifup eth2" I lose the ssh connection. Is there any way (e.g. some config settings maybe?) to allow me to still maintain the ssh connection after the 2nd NIC is up?
Old 12-11-2009, 07:18 AM   #2
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,314

Rep: Reputation: 98
If there is an Internet connection on NIC through the LAN swhy can't it update through that connection? Aside from that is the second NIC on the Same subnet or what? Because I cannot think of anything other than routing tables being messed up or being on the same subnet that would cause NIC one networking to blow out when you bring NIC 2 up.


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
Routing problem on Debian server from Cisco VPN concentrator feloniousj Linux - Networking 1 11-26-2009 03:10 PM
How to make non-vpn machines to access VPN server deepugopi Linux - Networking 0 07-31-2007 06:55 AM
Configure Linux VPN Server for a Windows VPN Client xbaez Linux - Networking 4 04-28-2006 03:29 PM
VPN Question Win98->internet->Router->Linux VPN Server->Win2k Server patrickrea Linux - Networking 1 08-10-2004 02:09 AM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 AM.

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