File tree Expand file tree Collapse file tree 1 file changed +35
-6
lines changed Expand file tree Collapse file tree 1 file changed +35
-6
lines changed Original file line number Diff line number Diff line change @@ -7859,17 +7859,46 @@ paths:
7859
7859
"rules": {
7860
7860
"inbound": [
7861
7861
{
7862
- "type": "TCP",
7863
- "protocol": "HTTPS",
7864
- "start_port": 443
7862
+ "protocol": "TCP",
7863
+ "start_port": 20,
7864
+ "end_port": 22,
7865
+ "addresses": {
7866
+ "ipv4": [
7867
+ "192.0.2.1",
7868
+ "192.0.2.0/24"
7869
+ ],
7870
+ "ipv6": [
7871
+ "2001:DB8::/32"
7872
+ ]
7873
+ }
7865
7874
}
7866
7875
],
7867
- "outbound": []
7876
+ "outbound": [
7877
+ "protocol": "TCP",
7878
+ "start_port": 20,
7879
+ "end_port": 22,
7880
+ "addresses": {
7881
+ "ipv4": [
7882
+ "192.0.2.1",
7883
+ "192.0.2.0/24"
7884
+ ],
7885
+ "ipv6": [
7886
+ "2001:DB8::/32"
7887
+ ]
7888
+ }
7889
+ }
7890
+ ]
7868
7891
},
7869
7892
"devices": {
7870
- "linodes": [123, 456],
7893
+ "linodes": [
7894
+ 123,
7895
+ 456
7896
+ ]
7871
7897
},
7872
- "tags": []
7898
+ "tags": [
7899
+ "example tag",
7900
+ "another example"
7901
+ ]
7873
7902
}' \
7874
7903
https://api.linode.com/v4/firewalls
7875
7904
- lang: CLI
You can’t perform that action at this time.
0 commit comments