LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-20-2010, 03:05 PM   #1
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 15
shorewall


Hello, im dealing with shorewall and an aliased interface:


Despite of that security issue regarding subnets in the same lan segment, check please if this is "enough"

eth2 -> 192.168.1.0
eth2:0 ->192.168.50.0
eth1 and eth0 are the net interfaces, 1 router each to provide wan failover (not implemented here)


Hosts:
Quote:
loc1 eth2:192.168.1.0/24
loc50 eth2:192.168.50.0/24
Interfaces
Quote:
net6 eth0 detect
net7 eth1 detect
- eth2 192.168.1.255,192.168.50.255
Masq
Quote:
eth0 eth2
eth1 eth2
eth2 eth2
Policy
Quote:
all all ACCEPT info
Rules
SECTION NEW
Quote:
REJECT loc50 loc1 all
Zones
Quote:
fw firewall
net6 ipv4
net7 ipv4
loc1 ipv4
loc50 ipv4

Problems / Doubs:

1) Is the hosts file required?

2) I guess i need doing masq from local to each external, and also from local to local even if they share the same interface, hence the eth2 eth2 in the masq file...

3) So is shorewall well implemented in these scritps to handle aliases in the most secure way possible?
 
Old 08-25-2010, 03:29 PM   #2
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
nobody?
 
  


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
About shorewall caitus Linux - Newbie 1 02-27-2009 01:50 PM
Shorewall doesn't appear ggeo Debian 4 03-16-2007 02:32 PM
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
shorewall apoc63 Linux - Networking 1 01-23-2005 05:26 PM
shorewall? sk8guitar Linux - Security 1 08-19-2003 10:04 PM

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

All times are GMT -5. The time now is 07:17 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