Orga, Bürokraten, Administratoren
792
Bearbeitungen
Seth0r (Diskussion | Beiträge) (rc.local) |
Seth0r (Diskussion | Beiträge) |
||
Zeile 144: | Zeile 144: | ||
net.ipv4.tcp_syncookies=1 | net.ipv4.tcp_syncookies=1 | ||
net.ipv4.ip_forward=1 | net.ipv4.ip_forward=1 | ||
* iptables | * iptables chains anlegen | ||
iptabels -N INFF | iptabels -N INFF | ||
iptables -N FF | iptables -N FF | ||
Zeile 163: | Zeile 163: | ||
iptables -A INPUT -i eth0 -p udp -m udp --dport 1195 -j ACCEPT | iptables -A INPUT -i eth0 -p udp -m udp --dport 1195 -j ACCEPT | ||
iptables -A INPUT -i eth0 -p udp -m udp --dport 7654 -j ACCEPT | iptables -A INPUT -i eth0 -p udp -m udp --dport 7654 -j ACCEPT | ||
=== /etc/rc.local === | === /etc/rc.local === | ||
#!/bin/bash | #!/bin/bash |