0
    root@OpenWrt:~# ldd /usr/sbin/iptables
    libip4tc.so.0 => /mnt/sdc1/opt/usr/lib/libip4tc.so.0 (0x77460000)
    libxtables.so.5 => /usr/lib/libxtables.so.5 (0x7744a000)
    libdl.so.0 => /lib/libdl.so.0 (0x77436000)
    libm.so.0 => /lib/libm.so.0 (0x77411000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773ee000)
    libc.so.0 => /lib/libc.so.0 (0x77382000)
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77476000)
root@OpenWrt:~# iptables -t nat -I PREROUTING   -p tcp -s 192.168.1.103 --dport 
80 -j REDIRECT --to-ports 8087
iptables: target "REDIRECT" has version "libxtables.so.4", but "libxtables.so.5" is required.
root@OpenWrt:~# ls /usr/lib/libxtables* -la
lrwxrwxrwx    1 root     root            19 Feb 29  2012 /usr/lib/libxtables.so -> libxtables.so.5.0.0
lrwxrwxrwx    1 root     root            19 Feb 29  2012 /usr/lib/libxtables.so.5 -> libxtables.so.5.0.0
-rwxr-xr-x    1 root     root         21980 Feb 29  2012 /usr/lib/libxtables.so.5.0.0

我想在 openwrt 路由器上运行 iptables。但是需要“libxtables.so.5”。我发现 libxtables.so.5 已经存在。有人告诉我如何解决这个问题。谢谢。

4

0 回答 0