Search Results

Search: Posts Made By: in2nix4life
1,912
Posted By in2nix4life
You could set the default INPUT policy to DROP: ...
You could set the default INPUT policy to DROP:


iptables -P INPUT DROP


And add a rule to allow ssh from the desired subnet:


iptables -A INPUT -p tcp --source 192.168.1.0/24 --dport 22...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy