https//www.racom.eu/eng/products/m/ripex/app/nat/cli.html
CLI interface (Command Line Interface) is an alternative to web access. You can work with the CLI interface in text mode using an appropriate client, either SSH (putty) or Telnet.
Please see more details in RipEX Manual.
See the NAT CLI commands:
cli_cnf_show_device_fwnat
display firewall and NAT configuration
CLI(admin):~$ cli_cnf_show_device_fwnat Firewall mode: Off (f) MAC filter mode: Off (f) NAT enable: On (n) MAC filter policy: Blacklist (b)
cli_cnf_show_device_fwnat_snat
display Source NAT table
CLI(admin):~$ cli_cnf_show_device_fwnat_snat Source NAT: 1. Protocol: UDP (u) Source IP address: 192.168.169.169 Source IP mask: 32 Source IP port: 123 Source IP port interval: 1 Destination IP address: 0.0.0.0 Destination IP mask: 0 Destination IP port: 123 Destination IP port interval: 1 Output interface: All (a) SNAT rewrite source IP to: 10.10.10.2 SNAT rewrite source port to: 0 Item active: On (n) Table note:
cli_cnf_show_device_fwnat_dnat
display Destination NAT table
CLI(admin):~$ cli_cnf_show_device_fwnat_dnat Destination NAT: 1. Protocol: TCP (t) Source IP address: 0.0.0.0 Source IP mask: 0 Source IP port: 0 Source IP port interval: 1 Destination IP address: 10.10.10.2 Destination IP mask: 32 Destination IP port: 502 Destination IP port interval: 1 Input interface: All (a) DNAT rewrite destination IP to: 192.168.169.170 DNAT rewrite destination port to: 0 Item active: On (n) Table note:
cli_cnf_set_device_fwnat
change firewall and NAT configuration
CLI(admin):~$ cli_cnf_set_device_fwnat -nat-enable n Starting new update. Updated values: Firewall mode: Off (f) MAC filter mode: Off (f) NAT enable: On (n) MAC filter policy: Blacklist (b)
Please select action (save, apply, cancel): apply cli_cnf_set_device_fwnat: Configuration update accepted, starting to perform. Estimated time to finish: 63000 ms. cli_cnf_set_device_fwnat: Restart is planned, you will be disconnected.
cli_cnf_set_device_fwnat_snat
change Source NAT table
cli_cnf_set_device_fwnat_dnat
change Destination NAT table
Run the CLI command with -h parameter for particular command options.