![]() | ![]() |
Bastion hosts should have permanent addresses that are configured on the machine itself; it is unwise to use DHCP to configure them, and we strongly recommend against doing so. Using DHCP makes bastion hosts dependent on the DHCP server.
DHCP requires both broadcast and unicast requests in order to function correctly. Putting a normal router in place will prevent a DHCP server from doing anything useful for clients on the far side of the router without actually protecting the DHCP server from attackers.
Direction | SourceAddr. | Dest.Addr. | Protocol | SourcePort | Dest.Port | Notes |
---|---|---|---|---|---|---|
In |
Ext[154]
|
Broadcast | UDP | 68 | 67 | External client request to internal server |
Out | Int |
Ext[155]
|
UDP | 67 | 68 | Internal server positive response to external client |
Out | Int | Broadcast | UDP | 67 | 68 | Internal server negative response to external DHCP client |
In | Ext[155] | Broadcast | UDP | 68 | 67 | External client accepting DHCP offer |
Out | Int | Ext[155] | UDP | 67 | 68 | Internal server acknowledging DHCP lease |
Out | Int[154] | Broadcast | UDP | 68 | 67 | Internal client request to external server |
In | Ext | Int[155] | UDP | 67 | 68 | External server positive response to internal client |
In | Ext | Broadcast | UDP | 67 | 68 | External server negative response to internal DHCP client |
Out | Int[155] | Broadcast | UDP | 68 | 67 | Internal client accepting DHCP offer |
In | Ext | Int[155] | UDP | 67 | 68 | External server acknowledging DHCP lease |
[154]This address need not be a valid address; the destination machine is assumed not to be fully configured, and the packet will actually be delivered based on lower-level data, not on the apparent destination address. The lower-level data may have a broadcast or unicast address depending on client capabilities.
[155]This is now the valid, agreed-upon address.
None of these proxy mechanisms is particularly configurable; these are not security-oriented proxies likely to do protocol checking, authorization, or logging.