Welcome to the CSC Q&A.
Get help and give help!
Write great code!
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 (8 points)
...