HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Add/Edit NAT Map Rule

Sample data:
{"dir":"outbound","enable":true,"comment":"","gms_marked":false,"match":{"intf":"lan0","proto":"tcp","src_subnet":"10.16.112.0/24","dst_subnet":"10.16.55.0/24","dst_port":"2000-2009"},"set":{"trans_src":"1.1.1.0/24","trans_dst":"10.16.112.0/24","trans_dport":"120-129"}}

Language
Click Try It! to start a request and see the response here!