Internal config
This commit is contained in:
19
DMZ.sh
19
DMZ.sh
@@ -4,12 +4,21 @@
|
||||
# ==============================
|
||||
ip=23.214.219.129
|
||||
routerIp=23.214.219.254
|
||||
dns=23.214.219.129
|
||||
dns2=23.214.219.130
|
||||
smtp=23.214.219.131
|
||||
www=23.214.219.132
|
||||
mask25=255.255.255.128
|
||||
|
||||
dns=23.214.219.130
|
||||
mail=23.214.219.132
|
||||
vpn_nw=23.214.219.133
|
||||
www=23.214.219.134
|
||||
smtp=23.214.219.135
|
||||
|
||||
sudo iptables -F
|
||||
sudo ifconfig enp0s9 $ip netmask $mask25
|
||||
sudo ifconfig enp0s8 $ip netmask $mask25
|
||||
sudo ip route add default via $routerIp
|
||||
|
||||
nc -l -V $dns 53
|
||||
nc -l -V $mail 888
|
||||
nc -l -V $vpn_nw 443
|
||||
nc -l -V $smtp 587
|
||||
nc -l -V $www 80
|
||||
nc -l -V $www 443
|
||||
|
||||
Reference in New Issue
Block a user