I
I
Igor2013-12-19 11:02:01
linux
Igor, 2013-12-19 11:02:01

Is it possible to make a router out of such shabby Linux?

I searched here and in Google on the topic "Linux NAT without iptables" - I could not find it. So I decided to ask a question here.
Situation.
I'm used to doing NAT-enabled routing (i.e. creating a gateway to another network for several computers) on Linux using iptables. But here I came across such a shabby one, in which this goodness was not found:


Linux 2.4.24-uc0 #1 Thu Aug 30 10:25:46 EDT 2012 armv5b unknown
# iptables
-ash: iptables: not found
# which iptables

iptables was also not found in /bin and /sbin:
# cd sbin;ls
depmod ifup mtd_debug start-stop-daemon
doc_loadbios init nanddump sulogin
einfo insmod nandtest sysctl
erase killall5 nandwrite syslogd
eraseall klogd nftl_format tcpdump
fcp lock nftldump telinit
fdisk logread poweroff udhcpc
ftl_check lsmod devk reboot make unlocks ftl_modformk reboot unlocks ftl_modformk reboot
unlocks ftl_modformat-
jffs route vconfig
halt mkfs.jffs2 runlevel
ifconfig mkswap service
ifdown modprobe shutdown
# cd /bin;ls
addgroup delgroup gzip more rmdir true
adduser deluser hostname mount rpm umount
ash df ip mv run-parts uname
busybox dmesg kill netstat sed uncompress
cat echo ln package sh usleep
chgrp egrep login pidof sleep vi
chmod false ls ping stty zcat
chown fgrep mii-diag ps su
cp getopt mkdir ptylogin sync
date grep mknod pwd tar
dd gunzip mktemp rm touch

Is it possible to solve the routing issue somehow in this situation?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
EvilMan, 2013-12-19
@EvilMan

You can do NAT without iptables. But it will be stateless nat: one to one. True, the kernel is 2.4, I'm not sure that this support is included in it.

V
Valentin, 2013-12-19
@vvpoloskin

Under 2.4 iptables was not and will not be collected. But there are wonderful ipchains

N
Nikolai Vasilchuk, 2013-12-19
@Anonym

Install iptables?

A
Artem, 2013-12-19
@Properrr

what distribution? If there is no package manager in this assembly, compile it yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question