LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-01-2009, 12:29 PM   #1
Pillus
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Gateway/Firewall/Network Logs


Lets see if i can describe my question right.

I got 2 servers, each on different locations (server 1 and server 2)


I want all traffic on server1 included web browsing, applications etc, be always going through server2, like a gateway. I want the traffic to be encrypted (maybe use VPN?) So if i browse, or any logs pick up ip adresses from applications used by server1, i want it to display the IP adress from server2 (Might be the wrong way to say it).

I always wants server2 to act as an firewall and logserver that logs all the traffic.

I was thinking about using Snort for IPS/IDS solutions and OpenVPN for the traffic, but what can i use as a firewall? Most firewalls i find on google has its own OS/Distribution. Maybe Squid for logs? But squid does not support much protocols.

Distribution on both servers are updated Debian/Ubuntu based.


Guides, software, tips anyone?


I consider myself medium knowledge with networking and linux usage so i can read myself through with proper documentation.


So the thing i need is just Howto Guides, tips for software on all things.

If it is any more information you need from me, dont hesitate to ask.


Thanks for your time!

Cheers,

Marius
 
Old 08-01-2009, 01:30 PM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Nuremberg, Germany
Distribution: Debian, Gentoo
Posts: 294
Blog Entries: 1

Rep: Reputation: 31
Alright, do you know something about iptables/netfilter? It's the packet filtering (also firewall) system for Linux. It might solve your problem, you will just have to add another NIC to your "server2" and plug in the "server1", setting the "server1" gateway to your "server2" (the firewall box).

This guide will be very helpful to get a good understanding:
http://iptables-tutorial.frozentux.n...-tutorial.html
 
Old 08-01-2009, 01:45 PM   #3
Pillus
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Well server 1 is in norway and nr 2 is in france, so its not that easy to just plug server1 onto server2. But i will take a look at iptables at least, to see how it works
 
Old 08-01-2009, 02:02 PM   #4
sparc86
Member
 
Registered: Jul 2006
Location: Nuremberg, Germany
Distribution: Debian, Gentoo
Posts: 294
Blog Entries: 1

Rep: Reputation: 31
I see, I didn't get that it was in different geographic locations.

Well, I guess openVPN would be a nice solution in that case...
 
  


Reply

Tags
networking, security


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
[SOLVED] Iptables firewall and gateway for local network not working. Mogget Linux - Networking 4 03-12-2009 12:41 AM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
Internal Firewall/Gateway problems on complex home network WarmFlatSprite Linux - Wireless Networking 3 02-19-2004 08:33 PM
MDK Multi-network-firewall - where are the network logs stored? Avatar Mandriva 5 02-11-2004 08:44 PM
Multi Network Firewall Logs linedpaper Linux - Security 1 12-16-2003 05:35 PM


All times are GMT -5. The time now is 09:28 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration