AWS

From Athenaeum
Jump to: navigation, search

Random

25 best AWS practices
Tools

Networking

  • To make a simple NAT device
    • You can either use masquerading: iptables --table nat --append POSTROUTING --source 10.10.11.0/24 --out-interface eth0 -j MASQUERADE
    • Or you can use SNAT: iptables --table nat --append POSTROUTING --source 10.10.11.214 -j SNAT --to-source 10.10.1.7
    • Or a combination of both is also possible.