-
Notifications
You must be signed in to change notification settings - Fork 0
add host firewall
stack add host firewall {host ...} [action=string] [chain=string] [comment=string] [flags=string] [network=string] [output-network=string] [protocol=string] [rulename=string] [service=string] [table=string]
Add a firewall rule for the specified hosts.
-
[host]
Host name of machine
-
{action=string}
-
{chain=string}
-
{comment=string}
-
{flags=string}
-
{network=string}
-
{output-network=string}
-
{protocol=string}
-
{rulename=string}
-
{service=string}
-
{table=string}
The table to add the rule to. Valid values are 'filter', 'nat', 'mangle', and 'raw'. If this parameter is not specified, it defaults to 'filter'
-
stack add host firewall localhost network=private service="all" protocol="all" action="ACCEPT" chain="FORWARD"
Accept all services and all protocols from the private network on the FORWARD chain. If 'eth0' is associated with the private network, then this will be translated as the following iptables rule: "-A FORWARD -i eth0 -j ACCEPT".
-
stack add host firewall localhost network=all service="40000" protocol="tcp" action="REJECT" chain="INPUT"
Reject TCP packets that are destined for port 40000 on all networks on the INPUT chain. This will be translated into the following rule: "-A INPUT -p tcp --dport 40000 -j REJECT"
Checkout our Google Group or our Slack Team for any support or other questions.
Want to contribute to this Wiki? Fork it and send a pull request.
-
add
- add appliance
- add appliance attr
- add appliance firewall
- add appliance route
- add attr
- add bootaction
- add box
- add cart
- add copyright
- add environment attr
- add firewall
- add group
- add host
- add host alias
- add host attr
- add host bonded
- add host bridge
- add host firewall
- add host group
- add host interface
- add host key
- add host partition
- add host route
- add network
- add os attr
- add os firewall
- add os route
- add pallet
- add route
- add storage controller
- add storage partition
- compile
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- remove
- report
- run
- set
- swap
- sync
- unload