วันเสาร์ที่ 19 พฤศจิกายน พ.ศ. 2559

Config Interface and Static IP on Ubuntu


Config Interface and Static IP on Ubuntu

- go to file /etc/network/interfaces
- set ip static for interface eth0
 * iface eth0 inet static
- set ip address
 * address <ip>
- set subnet mask
 * netmask <subnet mask>
- set default-gateway
 * gateway <ip default-gateway>
- set dns server
 * dns-nameservers <ip-dns>

- after set all config , press 'Ctrl + X' for exit from this file
- then, answer 'Y' for save file and press 'Enter' for overwrite this file

- Restart network service
 * sudo /etc/init.d/networking restart


- Check config interface
 * ifconfig -a


- If early setting can't save to current config , then reboot os
- enter to root
 * sudo su -
- reboot os
 * reboot




วันศุกร์ที่ 18 พฤศจิกายน พ.ศ. 2559

How to Factory Default : Palo Alto Firewall



How to Factory Default : Palo Alto Firewall

- Reboot Device
* GUI : Device > Setup > Operations > Device Operation > Reboot Device
* CLI (in operation mode) : PA3020> request restart system
- After reboot device press <DEL> or <F2> to enter setup
- Enter 'maint' for boot menu
- After enter to boot menu select "PANOS (maint)"
- Enter to maintenance mode select "Continue"
- Select "Factory Reset"
- Select "Factory Reset"
- After Factory Reset success select "Reboot"
- After reboot please wait few minutes then can login , default username & password is "admin"


How to initial config : MGMT Port (in CLI)
- Type "configure" on operation mode to enter configuration mode
* CLI : 

admin@PA-3020# set deviceconfig system ip-address <IP>  netmask <Mask> default-gateway <gateway-ip> 

* Example : admin@PA-3020# set deviceconfig system ip-address 192.168.1.1 netmask 255.255.255.0 default-gateway 192.168.1.254

admin@PA-3020# commit

** don't forget command "commit" **