Tag Info

New answers tagged

0

Iptables is not the best tool for packet capturing and I am not sure that capturing packets will answer your (routing) questions. You can use one of many tools, wireshark, snort, or tcpdump (to name a few). Your router may be able to track / log this as well. The details of packets is moderately complex and somewhat lengthy to expalain. Take a look at the ...


1

After some experimentation I was able to find the minimum required ports to resolve the agent-state: pending problem. Juju uses port 22 (ssh), juju state server uses port 17070, jujud uses port 8040. I am told this may not work with Juju set up in an HA mode because that uses different ports. Allowing these ports in ufw: $ sudo ufw status Status: active ...


2

You probably need to first identify the protocol, for example TCP or UDP. You do that by using the -p <protocol> option. I'm assuming you want TCP, so your iptables command should look like this: iptables -A INPUT -p tcp --dport 443 -j DROP


0

Suggestions on how to configure iptables: Open a terminal,Press Ctrl+Alt+T Run it: sudo -i /sbin/iptables -t nat -A POSTROUTING -o em2 -j MASQUERADE /sbin/iptables -A INPUT -s 192.168.1.2/30 -i em1 -j ACCEPT echo “1” >/proc/sys/net/ipv4/ip_forward


0

Hm, of course it was not an Ubuntu error. I moved to a new flat recently, and the router the internet provider gave me was the culprit. I logged into the router, and saw it had a firewall switched to a default security level verbosely called "medium". I set it to security level "low", and now both FTP and browser connections via non-standard ports work ...


0

This isn't actually an answer, but it was too detailed to be a comment, and may become an answer after more information is determined. When I read your post, I thought you were using your lan ip address (internal ip address), but after comparing the results of your commands vs my own, forcing me to look more closely, I see that you are trying to use an ...



Top 50 recent answers are included