Compare commits

..

2 Commits

Author SHA1 Message Date
saundersp
f9b5f6b33b More restrictive second pc packet redirection mask 2023-07-15 00:36:16 +02:00
saundersp
2c7ea57a20 chmod 644 to 755 for shell scripts 2023-07-15 00:35:28 +02:00
6 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ services <ethX>
config <eth0> --ipv4 manual 192.168.137.1 255.255.255.0 192.168.137.1 config <eth0> --ipv4 manual 192.168.137.1 255.255.255.0 192.168.137.1
config <eth1> --nameservers <DNS-SERVER> config <eth1> --nameservers <DNS-SERVER>
# Configure packets redirections # Configure packets redirections
iptables -I INPUT -s 192.168.137.0/24 -j ACCEPT iptables -I INPUT -s 192.168.137.2/30 -j ACCEPT
iptables -I FORWARD -o eth0 -s 192.168.137.0/24 -j ACCEPT iptables -I FORWARD -o eth0 -s 192.168.137.2/30 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
``` ```

0
archlinux_setup.sh Normal file → Executable file
View File

0
create_arch_server.sh Normal file → Executable file
View File

0
mv_docker.sh Normal file → Executable file
View File

0
pull.sh Normal file → Executable file
View File

0
vscodium-ext.sh Normal file → Executable file
View File