InterviewSolution
Saved Bookmarks
| 1. |
Rules For Ssh? |
|
Answer» <P>ACCEPT tcp packets on destination port 22 (SSH) # IPTABLES -A INPUT -p tcp --dport 22 -j ACCEPT Accept tcp packets on destination port 22 (SSH) from private LAN # iptables -A INPUT -p tcp -s 192.168.0.0/24 --dport 22 -j ACCEPT Accept tcp packets on destination port 22 (SSH) # iptables -A INPUT -p tcp --dport 22 -j ACCEPT Accept tcp packets on destination port 22 (SSH) from private LAN # iptables -A INPUT -p tcp -s 192.168.0.0/24 --dport 22 -j ACCEPT |
|