26 reputation
3
bio website vye.me
location
age
visits member for 3 years
seen Aug 8 at 20:08

Jul
11
answered Saltstack iterate through second level pillar data
Feb
19
answered restrict ssh access for different users to different folders
Feb
15
awarded  Supporter
Feb
15
comment My server doesn't receive responses from pings
UFW: help.ubuntu.com/community/UFW
Feb
15
comment My server doesn't receive responses from pings
Also, do be careful playing with your firewall remotely. If you make a mistake you could lock yourself out. One trick I usually do is I launch screen and then run './iptables.bsh && sleep 20 && iptables -F'. If the rules loaded successfully then I can press ctrl+c to abort the sleep or if my session was cut I can still log in, resume my screen session and terminate the sleep command. However, if it didn't go well and I got locked out then after 20 seconds the firewall will be turned off, allowing me back into the server. If you're overwhelmed you might consider using ufw to manage iptables.
Feb
15
comment My server doesn't receive responses from pings
I recommend adding those commands to your iptables config, not executing them interactively. 1) you will lose custom rules on reboot or iptables restart 2) unless you specify which line the rule should appear on then it may not appear in the right order. iptables will enforce the first matching rule. If a REJECT rule matches before the rules above, the packet will be denied. If you flushed your iptables without editing/reloading the config it is possible your server is now wide open. Does iptables -L list any rules? If it doesn't and the policy is "ACCEPT" then iptables is allowing everything.
Feb
13
awarded  Teacher
Feb
13
revised My server doesn't receive responses from pings
Added iptables help
Feb
13
answered My server doesn't receive responses from pings
Oct
4
awarded  Editor
Oct
4
revised TCP Sessions Hanging with Debian and iptables
edited title
Oct
4
asked TCP Sessions Hanging with Debian and iptables