I recommend use the amd64.
Virtual (VMware, KVM, Xen, Hyper-V) | amd64 i586-virt(drivers and tools included. 32bit) |
Phisical Server 64bit | amd64 |
Phisical Server 32bit | i586 |
Operation | Commnad |
---|---|
show configuration | show |
cahnge configuration mode | configure |
save configuration | commit save |
IP Setting | set interfaces ethernet eth0 address 192.168.0.1/24 |
Using SSH | set service ssh |
TimeZone | set system time-zone 'Asia/Tokyo' |
del system ntp server set system ntp server '192.168.11.5'
del system name-server set system name-server '10.254.174.10' set system name-server '192.168.11.5' set system domain-search domain 'ngy.local'
192.168.100.50 → 172.16.0.10
set nat destination rule 1 destination address 192.168.100.50 set nat destination rule 1 translation address 172.16.0.10 set nat destination rule 1 inbound-interface eth0
192.168.100.0/24 → 172.16.0.254
set nat source rule 1 source address 192.168.100.0/24 set nat source rule 1 translation address 172.16.0.254 set nat source rule 1 outbound-interface eth1
delete nat destination rule 1
delete nat source rule 1
set nat source rule 100 outbound-interface 'eth0' set nat source rule 100 source address '192.168.11.0/24' set nat source rule 100 translation address masquerade
192.168.64.150 port 80 → 172.16.0.10
set nat destination rule 1 destination address 192.168.64.150 set nat destination rule 1 destination port 80 set nat destination rule 1 inbound-interface eth0 set nat destination rule 1 protocol tcp set nat destination rule 1 translation address 172.16.0.10
xx.xx.xx.xx port 10022 → 192.168.100.50 port 22
set nat destination rule 10 description 'Port Forward: SSH to 192.168.11.120' set nat destination rule 10 destination port '10022' set nat destination rule 10 inbound-interface 'eth0' set nat destination rule 10 protocol 'tcp' set nat destination rule 10 translation address '192.168.100.50' set nat destination rule 10 translation port '22'
set service dhcp-server shared-network-name dhcp1 subnet 192.168.100.0/24 start 192.168.100.11 stop 192.168.100.20 set service dhcp-server shared-network-name dhcp1 subnet 192.168.100.0/24 default-router 192.168.100.1 set service dhcp-server shared-network-name dhcp1 subnet 192.168.100.0/24 dns-server 192.168.100.2