bulklshit
This commit is contained in:
@@ -14,10 +14,13 @@ source VM_CONFIG.sh
|
||||
|
||||
# --- variaveis aqui pf joao fr fr fr aaaaa --- #
|
||||
helloworld="print"
|
||||
|
||||
if_fora="enp0s8"
|
||||
if_dentro="enp0s9"
|
||||
ip_fora="193.136.212.1"
|
||||
|
||||
if_dentro="enp0s9"
|
||||
ip_dentro="10.60.0.3"
|
||||
|
||||
mega_tunel="tun0"
|
||||
ip_mega_tunel="10.8.0.1/24"
|
||||
|
||||
@@ -30,6 +33,7 @@ echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
|
||||
sysctl -p /etc/sysctl.conf
|
||||
|
||||
# --- nat forwardin de vpn para clientes --- #
|
||||
#
|
||||
iptables -A INPUT -p udp --dport 1194 -j ACCEPT # :O
|
||||
iptables -A FORWARD -i $mega_tunel -o $if_dentro -j ACCEPT # :P
|
||||
iptables -A FORWARD -i $if_dentro -o $mega_tunel -j ACCEPT # ;)
|
||||
|
||||
@@ -15,4 +15,3 @@ auth-user-pass
|
||||
cipher AES-256-GCM
|
||||
auth SHA256
|
||||
tls-auth /etc/openvpn/client/ta.key 1
|
||||
key-direction 1
|
||||
|
||||
Reference in New Issue
Block a user