[Bug 1410] STATELESS, rules with notrack into a map

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Apr 16 10:02:47 CEST 2020


--- Comment #2 from e.lohmann at mdex.de ---
Hi Pablo,

thanks for your answer. No, what I like to do in RAW is the same I do in NAT

dnat to ip daddr map { :, : }

This reads as follows: if packets send _to_ IP address, the rewrite
destination address to and so on.

snat to ip saddr map { :, : }

This reads as follows: if packets came _from_ IP address, the rewrite
source address to and so on.

With this mechanism we map public ip addresses to private and vice versa.
With 2 or more internet access points it's possible that traffic for an address
comes in on point A and left the system on point B. The STATEFULL Rules on
point B are NOT working if the IP packet is e.g. TCP, ICMP and NOT new.

What I try to accomplish in raw is, that this can be done without any conntrack
state for all packtes in raw.

Right now there is no way to create a map in raw and do address rewrite.

Regards, Eike

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200416/2fee4172/attachment-0001.html>

More information about the netfilter-buglog mailing list