Tag Info

New answers tagged

0

IMO, the best solution is creating a cluster with your two servers. The problem is you can't setup two routes to the same target/network (default gateway or more generally any route). Clustering is grouping some computers which are seen by other as a single huge one. This can be used to achieve 'high availability' which I think, is your goal. Maybe you ...


0

Many thanks for your help, it is working now! The iptables rules are effective and prevent the memory usage from exceeding approximately 80% for 512MB of memory. However, the packets from random sources still can be seen on Wireshark! The complete rules are as follows: sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT sudo iptables ...


0

IMO, your rules are not in correct order. Iptables apply the first rule which match, so, if you try your SYN attack on port 80 (http), the packets will be accepted and the next rule will not be used. I would place the rule number 4 just after the first one. Next, to recover your configuration on boot, you must use iptables-restore manually or create a ...


0

I'm not an iptables expert, but looking at your configuration the answer is: nowhere. The second line, both in INPUT and FORWARD chains, seems to be allowing all from anywhere to anywhere, so explicitly adding a rule for a specific protocol and port number doesn't make much sense.


1

The output you provided actually means that port 5060 is open and nothing is blocking it, because you got Connected to 192.168.0.5. But the connection got terminated by the destination host as soon as it was created, that's why it directly goes to Connection closed by foreign host. This is probably because the program that is listening on that port is ...


0

try these one by one sudo apt-get remove iptables sudo apt-get update sudo apt-get install iptables it should work now.


1

Credit to kraxor's comment on the original question: You should try reinstalling iptables by executing the following command: sudo apt-get --reinstall install iptables



Top 50 recent answers are included