Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Technician Laptop Access for Remote RMX-3200: Configuring IPTables for Network
Address Translation
13-7
4. Configure a rule in the POSTROUTING chain that masquerades all tcp packets from
source subnet
10.10.10.0/24:
config iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -p tcp -j
MASQUERADE
5. (optional) Verify that the IPTables commands have been configured properly:
show iptables configuration
The command response similar to the following displays:
6. Save the configuration.
(Dub)>show iptables configuration
Table nat
-------------------------------------------------------
Chain PREROUTING (policy ACCEPT)
Chain POSTROUTING (policy ACCEPT)
-s 10.10.10.0/24 -p tcp -j MASQUERADE
Chain OUTPUT (policy ACCEPT)
Table filter
-------------------------------------------------------
Chain INPUT (policy ACCEPT)
-i lo -j ACCEPT
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)
-d 127.0.0.0/8 -j ACCEPT
Table mangle
-------------------------------------------------------
Chain PREROUTING (policy DROP)
-i lo -j ACCEPT
-s 10.10.10.0/24 -d 184.155.22.36 -j ACCEPT
Chain INPUT (policy ACCEPT)
-i lo -j ACCEPT
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)
-d 127.0.0.0/8 -j ACCEPT
Chain POSTROUTING (policy ACCEPT)
-d 127.0.0.0/8 -j ACCEPT
(Dub)>