le interfaces
This commit is contained in:
19
VM_ROAD_WARRIOR.sh
Normal file
19
VM_ROAD_WARRIOR.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# O road warrior ou gateway client liga a vpn gateway
|
||||
# Via a rede externa 193.136.212.0/24
|
||||
# Rede externa (enp0s8)
|
||||
|
||||
# --- variaveis aqui pf joao fr fr fr aaaaa ---#
|
||||
helloworld="print"
|
||||
|
||||
# --- instalar packages --- #
|
||||
yum install -y epel-release
|
||||
yum install -y openvpn
|
||||
|
||||
# --- interfaces --- #
|
||||
ifconfig enp0s8 193.136.212.10 netmask 255.255.255.0
|
||||
route add default gw 193.136.212.1 # default gateway LIKE A SHEEP
|
||||
|
||||
# --- copiar certificados da CA --- #
|
||||
# todo
|
||||
Reference in New Issue
Block a user