Re: [pmfirewall] Can access to outside network be selectively allowed?

Date view Thread view Subject view Author view

From: alias (emailalias@yahoo.com)
Date: Tue Jul 25 2000 - 19:19:44 PDT


I had considered two networks but I do want to have access to the Linux box from all workstations.
Using a test box I added a NIC and hooked up a win98 box to make test network (one workstation). I
then edited the pmfirewall.rules.masq file and changed...

$IPCHAINS -A forward -s $INTERNALNET -d $REMOTENET -j MASQ

to

$IPCHAINS -A forward -s 192.168.0.2/255.255.255.0 -d $REMOTENET -j MASQ

This allowed access to the outside network from any internal address (192.168.0.xxx). Changing the
subnet mask to to 255.255.255.255 limited access to only the one address.

$IPCHAINS -A forward -s 192.168.0.2/255.255.255.255 -d $REMOTENET -j MASQ

Thanks for the all the ideas.
Alias

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe pmfirewall"
* in the message body to majordomo@pointman.org. Please direct other
* questions, comments, or problems to pmfirewall-owner@pointman.org.
*
* Need answers fast? Check the list archive located at:
* http://www.pointman.org/PMFirewall/list-archive/
*


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Jun 10 2001 - 02:35:33 PDT