security DHCP server
i am going to install a dhcp server ,,, but i am not sure what services allow from the network
for example... i will close all -P INPUT DROP but ... what exactly i have to ACCEPT for my server work correctly ... i think if i close all ... the server will not recibe the DHCP-DISCOVER from the computers that want to connect to my server... do you know what do i have to ACCEPT exactly?? |
You need to accept UDP/67 (bootps) incoming from whatever your-net is.
Code:
iptables -A INPUT -j ACCEPT -p udp -s <your-net> -m udp --destination-port bootps Code:
iptables -A INPUT -j ACCEPT -i lo |
Code:
iptables -P INPUT DROP |
Quote:
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 07:49 AM. |