I'm wondering if it is possible to do routing using iptables only, without using ip_forwarding flag in kernel.
Asked
Active
Viewed 84 times
1 Answers
1
No. IPTables is for firewalling and other packet mangling, which is a separate function from forwarding.
Furthermore, routing is different than forwarding.

Tero Kilkanen
- 36,796
- 3
- 41
- 63
-
But How about this article? https://scalingo.com/blog/iptables – Vahid Hashemi Sep 30 '21 at 21:56
-
What about that article makes you think you don't need forwarding enabled? – Zoredache Oct 01 '21 at 00:53
-
unless the mentioned article is incorrect at all. – Vahid Hashemi Oct 01 '21 at 07:44