Disable NAT

From WiDirect
Revision as of 14:55, 3 September 2015 by Veasey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you want to provide routable IP space to your Mobile Nodes, you can disable NAT on your WiDirect. In order to do this, you must be familiar with a command line editor such as vi or emacs. In this example, we'll show the emacs commands.

If you are disabling NAT, you will need a routable subnet on intranet and extranet networks. You can still use private subnets such as, as long as it's routable beyond the WiDirect box. The WiDirect is just going to act as a firewall without NAT enabled.

SSH to the WiDirect and run the following command:

	sudo emacs /etc/sysconfig/iptables

Use the arrow keys to find this line:


Comment out this line by adding a "#" in front of it. Save the file and exit the emacs editor.

After making those changes run these two commands for the changes to take effect:

	sudo /sbin/service iptables restart
	sudo /sbin/service awicp_client restart