Routing IP packets from one IP addr to another
linux, networking, routes
Solution
Assuming you're talking about real routing, and not any form of Network Address Translation (NAT), you just need to enable IP forwarding, and put the relevant routes in your routing table:
echo 1 > /proc/sys/net/ipv4/ip_forward
Configuring NAT does require iptables.
Problem
Can somebody tell me what are the ways of routing packets in a linux system. I have an external and internal network interfaces on my linux system. I want to forward packets arriving at my external network to an internal network. I do not have iptables. What are the other ways to this? What commands are offered by native linux. Should Netfilter always be enabled for this? My kernel does not come with Netfilter. So please suggest. Thanks in advance