Hi,
I have dumb problem. I would like to allow smtp connection from net to
fw ONLY from the PC with specified Mac address. This is what I wrote
according to the manual:
ACCEPT net:"~01-56-blah-blah-blah" fw tcp 25
However, shorewall refuses to stomach it. What I did wrong?
This is what written in the manual: Because Shorewall uses colons as a
separator for address fields, Shorewall requires MAC addresses to be
written in another way. In Shorewall, MAC addresses begin with a tilde
("~") and consist of 6 hex numbers separated by hyphens. In Shorewall,
the MAC address in the example above would be written
"~02-00-08-E3-FA-55".
Thanks in advance for any suggestion(s).
*********************************************
* Best Regards --- Andrei Verovski
*
* Personal Home Page
* http://snow.prohosting.com/guru4mac/
* Mac, Linux, DTP, Development, IT WEB Site
*********************************************
On Friday 20 February 2004 12:48 am, Andrei Verovski (aka MacGuru) wrote:> Hi, > > I have dumb problem. I would like to allow smtp connection from net to > fw ONLY from the PC with specified Mac address. This is what I wrote > according to the manual: > > ACCEPT net:"~01-56-blah-blah-blah" fw tcp 25Get rid of the quotes. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
On Friday 20 February 2004 07:00 am, Tom Eastep wrote:> On Friday 20 February 2004 12:48 am, Andrei Verovski (aka MacGuru) wrote: > > Hi, > > > > I have dumb problem. I would like to allow smtp connection from net to > > fw ONLY from the PC with specified Mac address. This is what I wrote > > according to the manual: > > > > ACCEPT net:"~01-56-blah-blah-blah" fw tcp 25 > > Get rid of the quotes. >In other words, the rule should read: ACCEPT net:~01-56-blah-blah-blah fw tcp 25 -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net