Hi, I am running shorewall 4.4.6.21 on Ubuntu 12.04. Is it possible to have the following iptables command as a shorewall rule in any of config files: iptables -t nat -I PREROUTING -p tcp -i eth0 -m mac --mac-source xx:xx:xx:xx:xx:xx -j ACCEPT Dragan Jurkovic ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On 08/22/2012 04:41 AM, Dragan Jurkovic wrote:> Hi, > > I am running shorewall 4.4.6.21 on Ubuntu 12.04. Is it possible to > have the following iptables command as a shorewall rule in any of > config files: > > iptables -t nat -I PREROUTING -p tcp -i eth0 -m mac --mac-source > xx:xx:xx:xx:xx:xx -j ACCEPT >In /etc/shorewall/rules: NONAT z:~xx:xx:xx:xx:xx:xx - -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 \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On Wed, Aug 22, 2012 at 10:10 AM, Tom Eastep <teastep@shorewall.net> wrote:> On 08/22/2012 04:41 AM, Dragan Jurkovic wrote: >> Hi, >> >> I am running shorewall 4.4.6.21 on Ubuntu 12.04. Is it possible to >> have the following iptables command as a shorewall rule in any of >> config files: >> >> iptables -t nat -I PREROUTING -p tcp -i eth0 -m mac --mac-source >> xx:xx:xx:xx:xx:xx -j ACCEPT >> > > In /etc/shorewall/rules: > > NONAT z:~xx:xx:xx:xx:xx:xx - > > -TomThank you Tom. Works perfectly. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/