Consider a NAT device between a private and the public network. Suppose the private network uses addresses in the range 10.0.1.0-10.0.1.255, and suppose that the interface of the NAT device to the public network has IP address 128.143.136.80.

Write the iptables command so that the addresses in the private network are mapped to the public IP address 128.143.136.80.
What will be an ideal response?

```
iptables –t nat –A POSTROUTING –j SNAT --to 128.143.136.80 –s
10.0.1.0/24
```

Computer Science & Information Technology

You might also like to view...

What is the difference between primary and secondary users? The text gives an example of a ticket agent being a primary user of a reservation system and the ticket buyer being the secondary user. Name four examples of systems that have primary and secondary users.

What will be an ideal response?

Computer Science & Information Technology

A(n) _________________________ is information that exists on a physical medium such as paper.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology