notrack.lua 418 Bytes
Newer Older
1 2
--[[
Connection tracking bypass module for Alpine Wall
3
Copyright (C) 2012-2014 Kaarle Ritvanen
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
4
See LICENSE file for license details
5 6 7
]]--


8
local model = require('awall.model')
9 10


11
local NoTrackRule = model.class(model.Rule)
12 13 14 15

function NoTrackRule:table() return 'raw' end

function NoTrackRule:target()
16
   return NoTrackRule.super(self):target() or 'CT --notrack'
17 18 19
end


20
return {export={['no-track']={class=NoTrackRule}}}