Deny--Redirect--Subnets--iptables

Taking care of your Linux box.

Deny--Redirect--Subnets--iptables

Postby aquiline » Mon Jan 18, 2010 11:20 am

Please share your expertise, here's my setup:

OS---Debian-5-(lenny)
Network-Interfaces:
eth0---(used for DHCP--leasing for Subnet-A and Subnet-B)
eth1---(for NATing..SNAT...DNAT..Masqurading..etc)
---
Subnets--(LAN-1)
Subnet-A1---10.10.64.0/18
Subnet-B2---10.10.128.0/18
----
Subnets---(LAN-2)
Subnet-A11---172.26.64.0/18
Subnet-B22---172.26.128.0/18
---
Query (?)
(1)
I want to deny Subnet-A to access Subnet-B (both subnets denied to access each other)?
(2)
to REDIRECT subnet-A1 [10.10.64.0/18---->172.26.64.0/18] to another subnet-A11 and as well redirect subnet-B2 to subnet-B22 [10.10.128.0/18--->172.26.128.0/18]?
(3)
Deny all others. (to be more secure)
Caution!
I'm new to iptables, so please show few examples. What approach should be use..iptables..NATing..SNAT...DNAT..Masqurading...etc...What's most efficent solution, when Security, Reliability and high availablity is concerned.?
Thank you for your time.
Sh@Ring is Le@Rning
aquiline
Company Havaldaar Major
 
Posts: 178
Joined: Sat Nov 20, 2004 5:56 pm
Location: Attock-#-Junction

Deny--Redirect--Subnets--iptables--[solved in other forum]

Postby aquiline » Thu Jan 21, 2010 10:16 am

so far didn't got any response, then...posted same thread on http://www.linuxquestions.org Forum, got answers there...Here's more info:
:shock: :? :idea: :arrow:
http://www.linuxquestions.org/questions/linux-networking-3/deny-redirect-subnets-iptables-782893/

thanx for viewing--->>> :lol:
Sh@Ring is Le@Rning
aquiline
Company Havaldaar Major
 
Posts: 178
Joined: Sat Nov 20, 2004 5:56 pm
Location: Attock-#-Junction


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron