Potsdam-VPN: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
K
(rc.local)
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 chans anlegen
* 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
792

Bearbeitungen

Navigationsmenü