Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+16 votes

How do I add IPs to the firewall?

asked in CSC335_Spring2019 by (8 points)

1 Answer

+8 votes

simDevice.getFirewallBlockSourceAddresses() and simDevice.getFirewallBlockDestinationAddresses()

will return List objects that you can add Strings to (as single IP addresses, or in CIDR format).

answered by (16.7k points)
...