iptables neither systemctl or service starts it
Hi
sorry this is silly ,but Ubuntu16.04.5 fresh install on a odroid c1 this was working and has stopped. the rules are Code:
# Generated by iptables-save v1.6.1 on Wed Sep 12 18:42:10 2018 ps ax|grep iptables shows no process running Code:
root@odroid:/# systemctl enable iptables this is something stupid, but I cant find the solution ideas ???? |
My idea is that there is nothing wrong. What process do you expect to run? iptables is a command to manage netfilter rules in the kernel, not a background process.
Is anything not working on your Odroid? |
Thanks.
The only thing the odroid should be doing is forwarding I went to flash the sd card and noticed it was slow,so I went and got a new sandisk ultra 16G card flashed Ubuntu 18.04 on it, did a apt update and upgrade SFTP'd a copy of the iptables rules to it, and then did a iptables-restore < /etc/iptables.rules Code:
root@odroid:~# iptables -t nat -L from a browser on another machine http://192.168.1.80:8083 and nothing , not getting forwarded from the same browser 192.168.1.70:8083 and straight to the port I wondered if it was because the source port and desination port are the same, but the same happens on ports 8081 and 8085 which redirect to 7776 and 7777 ( ip cameras ) 8083 is masqueraded because that machine has a VPN running so the reply gets sent to New York. It was working, or did it work by accident with a rule I wasn't aware of ??? I'm begining to suspect the latter as three virgin images all do the same . very difficult to spot your own mistakes, especially when I make so many TIA |
Hi
I feel like a total idiot, ip forwarding had been disabled but , even after editing /ect/sysctl.conf and setting to 1 its still booting up with them disabled, until switched on.... very strange |
Quote:
|
still my fault :?(
it was ip-forwarding disabled , by my bad editing, all sorted now |
All times are GMT -5. The time now is 10:27 AM. |