Is this even doable with shorewall?

After a packet natches a DROP rule like
DROP    net:10.0.0.0/8  fw      all

if the connection came in on port 80,
        redirect it to port 81
        let it through
else
        Drop it like normal
endif

If so how?

My guess would be to create a macro in /usr/share/shorewall and modify
actions.Drop to use it.

I've tried a couple of things with REDIRECT and DNAT, but no luck yet.

Thanks

-- 
Sincerely,

Nathan Gibbs

Systems Administrator
Christ Media
http://www.cmpublishers.com


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to