hi Tom I have use Shorewall version 3.4.8 what it would be for me in this rules?> As I can have more than two MAC addresses to apply a rule > in shorewall, I have the following to block port 443: > > > REJECT loc:~00-11-22-33-44-55 net tcp 443 > > > I try this > > > REJECT loc:~00-11-22-33-44-55,~AA-BB-CC-DD-EE-FF net tcp 443That works for me and generates: -A loc-net -p 6 --dport 443 -m mac --mac-source 00:11:22:33:44:55 -j reject -A loc-net -p 6 --dport 443 -m mac --mac-source AA:BB:CC:DD:EE:FF -j reject Which version of Shorewall are you using. -- I.S.C. William López Jiménez -- User Linux # 379636 MSN wljkoala23@hotmail.com Jabber koalasoft@jabber.org Web: www.koalasoftmx.tk Twitter: @koalasoft Facebook: william.koalasoft ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
On 02/09/2012 09:08 AM, I.S.C. William wrote:> hi Tom > > I have use Shorewall version 3.4.8 what it would be for me in this rules?3.4.8 is 4 years old and uses the old shell-based compiler. I haven''t looked at that code in at least three years since support for it ended. I just took a quick look and I didn''t see off-hand why the rule you tried wouldn''t work but given the age of the code involved, I would encourage you to upgrade. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/