LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-12-2007, 06:34 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
firewall help in linux


Hi,


I need a help in the following scenario:

We have leased line for connecting our head office with two different class of private network through a cisco router. This router ip has been configured as gateway for the users at ourside of the network. Now we have Email Server in our Head office which we connect through this router. We often encounter leased line disconnection and during this time i want to route through Internet. We have Linux as Squid proxy Server which i would like use it for firewall also. Hence, please let me know how i can configure firewall so that whenever leased line is down we can route through Internet. Ours is a class C network and Head is in Class B network.

Thanks in advance.

regards,

T. Saravana
 
Old 06-14-2007, 01:24 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi tsaravan,

very simple,
just put another gateway on your client pointing to your linux firewall with the metric of 254 - which route will be triggered if your main gateway doesnt seem to be up - otherwise, it will be passive router. just do the same -- create NAT etc...

but - if that is not the case - just let us know.

HTH,

Cheers.
 
Old 06-14-2007, 05:22 PM   #3
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Hi ...
In the question of the firewall, you just have to configure Iptables in your linux machine (if you don't have it http://www.netfilter.org/projects/iptables/index.html , with that, the pc used as proxy cache, would work as a firewall too.
With that 2 programs, your network should work very fine.
 
  


Reply



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
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 07:38 AM
Linux Firewall Vs Firewall Appliance depam Linux - Security 4 11-20-2006 01:55 PM
how to m$ win client+firewall to linux sshd and use linux to access the M$ computer c_mitulescu Linux - Networking 7 05-14-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration