Part 2 Vyatta Nat Configuration and DNS Server Configuration

Part 2 Vyatta Nat Configuration and DNS Server Configuration

vyatta 6.5

 

Follow-me Part 1: http://ithelpblog.com/network/vyatta/part-1-vyatta-vlan-configuration-and-dhcp-server-configuration/

Diagram:

Step 1: Vyatta NAT Configuration

set nat source rule 10 outbound-interface eth0
set nat source rule 10 translation address masquerade
set nat source rule 10 protocol all
set nat source rule 10 source address 192.168.100.0/24
commit

set nat source rule 20 outbound-interface eth0
set nat source rule 20 translation address masquerade
set nat source rule 20 protocol all
set nat source rule 20 source address 192.168.101.0/24
commit

set nat source rule 30 outbound-interface eth0
set nat source rule 30 translation address masquerade
set nat source rule 30 protocol all
set nat source rule 30 source address 192.168.102.0/24
commit

 save

Step 2:  Vyatta DNS Server Configuration

set service dns forwarding listen-on eth1
set service dns forwarding listen-on eth1.100
set service dns forwarding listen-on eth1.101
set service dns forwarding listen-on eth1.102
set service dns forwarding name-server 8.8.8.8
commit

save

 

That’s all. Thanks for using IThelpblog.com

 

 

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>