Showing posts with label Vyatta. Show all posts
Showing posts with label Vyatta. Show all posts

Saturday, January 1, 2011

Setup Vyatta dnsmasq

vyatta@vyatta:~$ configure
vyatta@vyatta# set service dns forwarding listen-on eth1
vyatta@vyatta# set service dns forwarding name-server 192.168.1.1
vyatta@vyatta# commit
vyatta@vyatta# save

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

setup Vyatta interfaces, ssh and https access

configure

set interfaces ethernet eth0 address dhcp

set interfaces ethernet eth1 address 192.168.1.1/24

set service ssh

set service https

commit

exit

Install Vyatta on hdd

Download VC6.1 - Virtualization.iso from http://www.vyatta.org/downloads

Create VM 256MB memory and 1Gb HDD

1. boot livecd (default login: vyatta/vyatta)
2. install-system
3. remove CD and reboot
4. "show version" to verify boot via disk
5. configure
6. save
7. reboot