Firewall Port forwarding rules
IX20 User Guide
940
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. At the config prompt, type:
(config)> add firewall dnat end
(config firewall dnat 0)>
Port forwarding rulesare enabled by default. To disable the rule:
(config firewall dnat 0)> enable false
(config firewall dnat 0)>
4. Set the network interface for the rule.
(config firewall dnat 0)> interface
(config firewall dnat 0)>
Network connectionswill only beforwarded if their destination addressmatchesthe IP
addressof this network interface.
a. Use the ?to determine available interfaces:
(config firewall dnat 0)> interface ?
Interface: Network connections will only be forwarded if their
destination address matches the IP address of this network interface.
Format:
defaultip
defaultlinklocal
eth1
eth2
loopback
Current value:
(config firewall dnat 0)> interface
b. Set the interface. For example:
(config firewall dnat 0)> interface eth1
(config firewall dnat 0)>
5. Set the IPversion. Allowed valuesare ipv4 and ipv6. The default is ipv4.
(config firewall dnat 0)> ip_version ipv6
(config firewall dnat 0)>
6. Set the public-facing port number that network connectionsmust use for their traffic to be
forwarded.