Deags Posted July 24, 2008 Share Posted July 24, 2008 I'm trying to set something up. My box has two ip's assigned. 192.168.1.1 and 192.168.1.11. I would like all incoming traffic for 192.168.1.1 to be allowed except for ports 8000 to 9000. I would like all traffic incoming on 192.168.1.11 to be blocked except 1 port range from 8000 to 9000. And all outgoing to be allowed on both. So i want all internet downstream traffic on 192.168.1.11 to be blocked except for that port range and I'd like that port range blocked on the other IP. Please help. It is important i get this right as in reality they are not local ip's ;). Quote Link to comment Share on other sites More sharing options...
MRGRIM Posted July 24, 2008 Share Posted July 24, 2008 What is the box running? If it was a Windows based box you could setup different firewalls on both connections, or you could use something like ISA Server. I've not used Smooth Wall yet but can't you do similar stuff with that and patch the conection through? Quote Link to comment Share on other sites More sharing options...
Deags Posted July 24, 2008 Author Share Posted July 24, 2008 it is debian. Quote Link to comment Share on other sites More sharing options...
MRGRIM Posted July 24, 2008 Share Posted July 24, 2008 Sounds like Linux I'm fucked Prehaps this tutorial will help http://www.cyberdogtech.com/firewalls/tuto....php?page=inter it made sense to me with my limited Linux Knowledge :P Quote Link to comment Share on other sites More sharing options...
beakmyn Posted July 24, 2008 Share Posted July 24, 2008 This is a good how to. http://www.linuxhomenetworking.com/wiki/in..._Using_iptables Quote Link to comment Share on other sites More sharing options...
Deags Posted July 24, 2008 Author Share Posted July 24, 2008 i got it :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.