Serveurs Privés Virtuels (VPS) - Problème de DHCP
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Problème de DHCP

Von
ZerefGG
Erstellungsdatum 2018-05-04 10:55:22 (edited on 2024-09-04 11:13:53) in Serveurs Privés Virtuels (VPS)

Bonjour j`ai remarqué que mon firewall bloque dhcp

May 4 10:41:40 vps53XXXX dhclient[660]: dhclient.c:2612: Failed to send 300 byte long packet over fallback interface.
May 4 10:41:50 vps53XXXX dhclient[660]: DHCPREQUEST of xx.xx.xx.xx on ens3 to xx.xx.xx.1 port 67
May 4 10:41:50 vps53XXXX dhclient[660]: send_packet: Operation not permitted

j'ai ajouté les règles suivantes mais ça ne marche toujours pas:
**iptables -A INPUT -p udp --dport 67:68 -j ACCEPT**
**iptables -A OUTPUT -p udp --sport 67:68 -j ACCEPT**

Cordialement !


1 Antwort ( Latest reply on 2018-05-05 10:58:30 Von
ZerefGG
)

Résolu!
j'ai écrit les règles plus proprement et ça à l'air de marcher.

iptables -A INPUT -p udp --match multiport --dports 67,68 -j ACCEPT
iptables -A OUTPUT -p udp --match multiport --dports 67,68 -j ACCEPT