Jump to content


Ivan

Member Since 19 Aug 2012
Offline Last Active 29 Dec 2017 10:16
-----

Posts I've Made

In Topic: Iptables on Openpli

28 March 2016 - 09:50

Google was not my friend. Can someone post the syntax for ipt_state and some more ipt_* packages?

Maybe  the next build will be successful.


In Topic: Iptables on Openpli

8 March 2016 - 21:41

ipt_state is not available in the defconfig.


In Topic: Iptables on Openpli

6 March 2016 - 22:06

Here is my vusolo2_defconfig if somebody is interested. I will stop the test now.


In Topic: Iptables on Openpli

6 March 2016 - 21:42

My new build contains all needed kernel-modules. :)

root@vusolo2:~# opkg install iptables
Installing iptables (1.4.21-r0) on root.
Downloading file://media/hdd/ipk/mips32el/iptables_1.4.21-r0_mips32el.ipk.
Installing kernel-module-nf-defrag-ipv4 (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-defrag-ipv4_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-nf-conntrack (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-conntrack_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-ipt-masquerade (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-ipt-masquerade_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-nf-nat (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-nat_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-x-tables (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-x-tables_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-nf-conntrack-ipv4 (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-conntrack-ipv4_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-iptable-nat (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-iptable-nat_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-nf-nat-ipv4 (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-nat-ipv4_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-ip-tables (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-ip-tables_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-iptable-filter (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-iptable-filter_3.13.5-r2.4.4_vusolo2.ipk.
Configuring kernel-module-nf-conntrack.
Configuring kernel-module-x-tables.
Configuring kernel-module-ip-tables.
Configuring kernel-module-nf-defrag-ipv4.
Configuring kernel-module-nf-conntrack-ipv4.
Configuring kernel-module-nf-nat.
Configuring kernel-module-ipt-masquerade.
Configuring kernel-module-nf-nat-ipv4.
Configuring kernel-module-iptable-nat.
Configuring kernel-module-iptable-filter.
Configuring iptables.
root@vusolo2:~# 

But the following command is still not working.

root@vusolo2:~# iptables -A INPUT -i eth0 -p tcp --dport 21 -j ACCEPT
iptables: No chain/target/match by that name.

In Topic: Iptables on Openpli

3 March 2016 - 22:24

:)

root@vusolo2:/media/hdd/ipk/mips32el# opkg install iptables
Installing iptables (1.4.21-r0) on root.
Downloading file://media/hdd/ipk/mips32el/iptables_1.4.21-r0_mips32el.ipk.
iptables: unsatisfied recommendation for kernel-module-nf-defrag-ipv4
iptables: unsatisfied recommendation for kernel-module-ipt-masquerade
iptables: unsatisfied recommendation for kernel-module-nf-nat
iptables: unsatisfied recommendation for kernel-module-nf-conntrack-ipv4
iptables: unsatisfied recommendation for kernel-module-iptable-nat
Installing kernel-module-nf-conntrack (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-nf-conntrack_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-x-tables (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-x-tables_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-ip-tables (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-ip-tables_3.13.5-r2.4.4_vusolo2.ipk.
Installing kernel-module-iptable-filter (3.13.5-r2.4.4) on root.
Downloading file://media/hdd/ipk/vusolo2/kernel-module-iptable-filter_3.13.5-r2.4.4_vusolo2.ipk.
Configuring kernel-module-nf-conntrack.
Configuring kernel-module-x-tables.
Configuring kernel-module-ip-tables.
Configuring kernel-module-iptable-filter.
Configuring iptables.
root@vusolo2:/media/hdd/ipk/mips32el# 

nf-conntrack is now present but die command is still not working. :(

 

Next test will be this weekend.