Enabling a public IP
Set--public-ipv4 when creating an instance to assign a
public IP address:
--public-ipv4, the only inbound port open on the instance is SSH (TCP port 22); nothing
else is reachable from the internet. Connect with sf instance ssh.
Internet connectivity
Instances reach the internet via IPv4 using TCP, UDP, and ICMP; other layer 4 protocols are blocked. Outbound SMTP (TCP and UDP port 25) is blocked—contact SFC if you need this restriction removed. Inbound traffic is governed by firewall rules. Source CIDRs are restricted to public IPv4 addresses, and because internet source IPs are spoofable, firewall rules should be treated as security hardening, not as a security mechanism. Additionally, all traffic to an instance’s UDP or TCP port 68 is blocked to prevent DHCP attacks.Finding an instance’s IP
An instance’s IP is available throughsf instance get and sf instance list.
public_ip field (if enabled).