New answers tagged

0

I run into the same problem with ufw. I found kind of trick which I don't why it works. Run sudo snap connect snappy-debug:log-observe ubuntu-core:log-observe You will another error message ignore it. Then again sudo snap connect ufw:firewall-control ubuntu-core:firewall-control Then check again snap interfaces you should see :firewall-control ufw. ...


1

Thanks for all your help. I didn't find the answer exactly, but I believe the cause was that I had copied over some ufw rules from my old ubuntu 14 install, which are located in /lib/ufw. Seems the ufw on ubuntu 16 did not like this, even after I deleted them. Reinstalling solved the issue.


1

Have you tried this command? sudo ufw default allow outgoing


1

Welcome to Internet !! That is someone is DDOS-ing to your IP address on various ports and trying to find an insecured port they can leverage. From the logs i can see various IP addresses with various ports e.g. 17 (qotd), 23 (telnet), 69 (tftp) and probably many more. Good thing is, all the attacks are being blocked by the firewall, at least it is clear ...


0

I don't think there's anything wrong with the syntax of your command (either of the ufw command itself, or the bash loop - although it would be good practice to quote the $line variable i.e. ... from "$line" to any ...). The ERROR: Bad source address error indicates a problem with the address string itself, and we can guess that it might be due to DOS-style ...


0

Re-read man ufw. There are two, similar, ufw invocations that you're confusing: ufw [--dry-run] [delete] [insert NUM] allow|deny|reject|limit [in|out] [log|log-all] PORT[/PROTOCOL] ufw [--dry-run] [rule] [delete] [insert NUM] allow|deny|reject|limit [in|out [on INTERFACE]] [log|log-all] [proto PROTOCOL] [from ADDRESS [port PORT]] [to ADDRESS [port ...


0

Go to terminal and type: sudo su - apt-get install openssh-server openssh-client Test the installation ps -A | grep sshd If the output is something like this: <some number> ? 00:00:00 sshd Then ssh daemon is running. Again type in terminal; ss -lnp | grep sshd If the output is something like this: 0 128 :::22 :::* users:(("sshd"...


0

well what worked for me was to use iptable sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT



Top 50 recent answers are included