Saturday, January 1, 2011

Setup Vyatta NAT

vyatta@vyatta:~$ configure
vyatta@vyatta# set service nat rule 1 source address 10.10.10.1/24
vyatta@vyatta# set service nat rule 1 outbound-interface eth0
vyatta@vyatta# set service nat rule 1 type masquerade
vyatta@vyatta# commit
vyatta@vyatta# save

No comments: