Jump to content

Recommended Posts

Posted

ok heres what im trying to do .

 

Currently have two networks

 

1 network on the 172.16.0.0 range ( guest wireless , should only have access to the NET)

1 network for everything else 10.146.0.0 range ( DC , DNS , Inet router , PC's)

 

I have a Hp server with two nics , Running IPCop ( but i spose i could run any linux variation )

 

What im trying to do is , connect both subnets together so the guest network can access the net only , to do this it needs to communicate with the router address on 10.146.0.0 range and probally DNS as well .

 

What is the easiest way of doing this on Linux ?

 

I assume im really trying to setup some sort of router/gateway for the 172.16.0.0 range .

 

My IPCop Config is

 

Red network ( Internet) - 10.146.0.0 range

Green network ( guest ) 172.16.0.0 range

 

any help please :D

Posted

ok managed to sort this out .. Great stuff.

 

Im using Centos now aposed to IPCOP.

 

Any one know how i can setup the IPTABLES to only allow the private LAn access to the router and DNS server only ? i want to block everything else

Posted
Was about to say this is something I've done in the dim distant past with a teensy Linux running off a floppy on something like a 486 with a few NICs. Have forgotten everything I knew about iptables syntax, but it will work.
Posted

yep its working good , can cross between networks in different ranges . Only problem is everything atm is open !

 

Grr !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...