Score:0

Is it possible to route packets using iptables only without enabling ipforwarding?

sa flag

I'm wondering if it is possible to do routing using iptables only, without using ip_forwarding flag in kernel.

Score:1
us flag

No. IPTables is for firewalling and other packet mangling, which is a separate function from forwarding.

Furthermore, routing is different than forwarding.

Seyed Vahid Hashemi avatar
sa flag
But How about this article? https://scalingo.com/blog/iptables
in flag
What about that article makes you think you don't need forwarding enabled?
Seyed Vahid Hashemi avatar
sa flag
unless the mentioned article is incorrect at all.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.