====== VyOS: NAT====== [[vyos:vyos|{{ :vyos:icon.jpg?120|}}]] ===== context===== dit document beschrijft NAT op VyOS ===== nut===== network address translation vertaalt private addressen naar andere (externe) addressen.\\ source nat vertaalt het source adres\\ destination nat vertaalt het destination adres (vaak: in combinatie met reverse proxy). ===== source===== set nat source rule description set nat source rule outbound-interface ethx set nat source rule source address subnet/netmask set nat source rule translation address masquerade ==== voorbeeld ==== set nat source rule 100 description wifi_smart set nat source rule 100 outbound-interface eth1 set nat source rule 100 source address 10.11.100.0/24 set nat source rule 100 translation address masquerade ===== verwijderen ===== delete nat source rule ===== meer info ===== * [[https://docs.vyos.io/en/equuleus/configuration/nat/index.html|VyOS KB: NAT]] {{tag>vyos configuratie netwerk nat}}