Done.
Iptables on Openpli
Re: Iptables on Openpli #41
Posted 1 March 2016 - 22:51
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Iptables on Openpli #42
Posted 1 March 2016 - 23:00
What does this give you?
iptables -L
andlsmod|grep tables
root@vusolo2:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
root@vusolo2:~# lsmod|grep tables ip_tables 11433 1 iptable_filter x_tables 14584 2 ip_tables,iptable_filter
TechniSat Multytenne Twin: 19,2°E | 13,0°E | 23,5°E | 28,2°E -> OpenPLi4.0@vusolo2
Multifeed Offset: 19,2°E | 13,0°E | 4,8°E | 5,0°W -> OpenPLi4.0@dm800se + OpenPLi4.0@vuzero
Re: Iptables on Openpli #43
Posted 1 March 2016 - 23:07
So the modules are loaded correctly, and the chains are present.
I think the problem is the port filter, on your last command, that requires nf_conntrack, which isn't available and/or loaded. So you need to address that.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Iptables on Openpli #44
Re: Iptables on Openpli #45
Posted 2 March 2016 - 12:52
Of what? You're missing the nf_conntrack kernel module.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Iptables on Openpli #46
Posted 3 March 2016 - 21:39
I found the missing nf_conntrack kernel module in the kernel config tool and activated it.
The next build is running. Hopefully it will work now. We will see it in the next hour.
I attached my new vusolo2_defconfig.
Attached Files
TechniSat Multytenne Twin: 19,2°E | 13,0°E | 23,5°E | 28,2°E -> OpenPLi4.0@vusolo2
Multifeed Offset: 19,2°E | 13,0°E | 4,8°E | 5,0°W -> OpenPLi4.0@dm800se + OpenPLi4.0@vuzero
Re: Iptables on Openpli #47
Posted 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.
TechniSat Multytenne Twin: 19,2°E | 13,0°E | 23,5°E | 28,2°E -> OpenPLi4.0@vusolo2
Multifeed Offset: 19,2°E | 13,0°E | 4,8°E | 5,0°W -> OpenPLi4.0@dm800se + OpenPLi4.0@vuzero
Re: Iptables on Openpli #48
Posted 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.
TechniSat Multytenne Twin: 19,2°E | 13,0°E | 23,5°E | 28,2°E -> OpenPLi4.0@vusolo2
Multifeed Offset: 19,2°E | 13,0°E | 4,8°E | 5,0°W -> OpenPLi4.0@dm800se + OpenPLi4.0@vuzero
Re: Iptables on Openpli #49
Re: Iptables on Openpli #50
Posted 7 March 2016 - 11:57
Ok. Next one I'm missing is ipt_state, which is needed to track port connections.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Iptables on Openpli #51
Re: Iptables on Openpli #52
Re: Iptables on Openpli #53
Posted 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.
TechniSat Multytenne Twin: 19,2°E | 13,0°E | 23,5°E | 28,2°E -> OpenPLi4.0@vusolo2
Multifeed Offset: 19,2°E | 13,0°E | 4,8°E | 5,0°W -> OpenPLi4.0@dm800se + OpenPLi4.0@vuzero
Re: Iptables on Openpli #54
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users