Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux_router:iptables [2019-12-08 Sun wk49 12:03] – baumkp | linux_router:iptables [2024-12-15 Sun wk50 10:31] (current) – [IPTables Configuration] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| =====IPTables Configuration===== | =====IPTables Configuration===== | ||
| + | Having delved into IPtables and NFtables about the same time, my feelings are that NFTables is generally superior in just about every way, I can not be bothered explaining this, this is just my experience and feeling. | ||
| - | ++++IPTables Configuration|I went down the route of attempting to configure the firewall using NFtables. NFTables has some nice features that look to make it more user friendly than IPTables. | + | ++++tl;dr;| |
| + | I went down the route of attempting to configure the firewall using NFtables. NFTables has some nice features that look to make it more user friendly than IPTables. | ||
| + | |||
| + | As of year ending 2019 general support and functionality of NFTables is much improved. | ||
| + | |||
| + | <fs smaller>Unfortunately the package version supplied with Ubuntu 16.04 was released in 2015-11, and during my configuration I found some bugs. Also mss clamping is not supported in this version. I tried the Ubuntu 18.04 development version and the previous noted bugs were no longer apparent and mss clamping was supported.</fs> | ||
| + | ++++ | ||
| + | **//I have not cross checked this IPTable version against the working NFTables version, and it is definitely out of alignment and untested.// | ||
| - | I have not cross checked this IPTable version against the working NFTables version, and it is definitely out of alignment and untested.++++ | ||
| - | ++++Sample IPTables configuration| | ||
| ====Sample IPTables configuration==== | ====Sample IPTables configuration==== | ||
| Line 86: | Line 93: | ||
| COMMIT | COMMIT | ||
| - | </ | + | </ |
| ====Additional IPTables setup requirements==== | ====Additional IPTables setup requirements==== | ||
| - | ++++Additional IPTables setup requirements| | + | |
| ===Persistent IPTables on Boot and before Network Start-up: | ===Persistent IPTables on Boot and before Network Start-up: | ||
| Line 104: | Line 111: | ||
| *'' | *'' | ||
| - | ++++ | + | |
| - | *< | + | ---- |
| + | |||
| + | *< | ||