Made the INTERNET

This commit is contained in:
jelly Tomas
2026-03-20 12:55:12 +00:00
parent 612eeec3b2
commit ecb833a122
4 changed files with 30 additions and 15 deletions

15
INTERNET.sh Normal file
View File

@@ -0,0 +1,15 @@
ip=87.248.214.98
dns2=87.248.214.99
eden=87.248.214.100
mask24=255.255.255.0
routerIp=87.248.214.97
sudo yum install iptables-services -y
sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo systemctl mask firewalld
sudo systemctl enable iptables
sudo iptables -F
sudo ifconfig enp0s8 $ip netmask $mask24
sudo add default gw $routerIp
sudo ip addr add $dns2 dev enp0s8
sudo ip addr add $eden dev enp0s8