[v2] Add package fff-layer3-ipv4snat #79

Closed
ChristianD wants to merge 2 commits from ChristianD/firmware:ipv4snatV2 into master

2 Commits

Author SHA1 Message Date
Christian Dresel 6d1c5aaa82 Add package fff-layer3-snat
With this package it is possible to make SNAT with IPv4 on the router

The user must set a routerip setting in gateway.meta.routerip to get a single ip for peering interfaces.
At ipaddr the user must set a ip that not use in babel (e.g. 192.168.0.1/16) for the clients

With this package the ipaddr address is SNAT to the routerip and every router need only one
freifunk ip and can use the same ipaddr on every router.

It is a system like cgnat from big provider

Signed-off-by: Christian Dresel <freifunk@dresel.systems>
2021-12-30 12:56:46 +01:00
Christian Dresel 5013238166 fff-firewall: Flush nat und mangle iptables table
We should flush all tables and not only filter to reset the complete firewall

Signed-off-by: Christian Dresel <freifunk@dresel.systems>
2021-08-07 10:23:40 +02:00