Input data: IP 195.258.1.12; mask 255.255.255.192; GW 195.258.1.1; NS 8.8.8.8 and 8.8.8.4; interface ens32; hostname web-1.
#vi /etc/sysconfig/network-scripts/ifcfg-ens32
Continue reading Configure network CentOS7 (static ip, gw, ns)
Input data: IP 195.258.1.12; mask 255.255.255.192; GW 195.258.1.1; NS 8.8.8.8 and 8.8.8.4; interface ens32; hostname web-1.
#vi /etc/sysconfig/network-scripts/ifcfg-ens32
Continue reading Configure network CentOS7 (static ip, gw, ns)
Launch instance and associate address in Elastic IP’s (using ubuntu server os)
$ aptitude update
$ aptitude install openvpn – installing openvpn
$ aptitude install bind9 – bind (for internal ip resolved for domain names)
$ aptitude install iptables-persistent – iptables-persistent (soft for easy tune iptables) Continue reading Setting up openvpn & bind for use in the amazon’s servers
NAT ( good with PPPoE)
Create script:
sudo vim /etc/nat
Continue reading NAT, DNS & DHCP in Debian