[WLANware] Ports in Firewall öffnen

Ufo ufo at public-ip.org
Thu Oct 19 19:05:33 CEST 2006


Sven-Ola Tuecke schrieb:
> iptables -I FORWARD -i vlan1 -p udp --dport 12345 -j ACCEPT
> iptables -t nat -I PREROUTING -p udp --dport 12345 -j DNAT --to 10.1.2.3

wir haben in unserem Wiki dazu drei regeln stehen: (eigene IP ist 
anzupassen)

iptables -t nat -A PREROUTING -d 104.61.234.1 -p tcp --dport 443 -j DNAT 
--to 192.168.1.2:443
iptables -I FORWARD -d 104.61.234.1 -p tcp --dport 443 -j ACCEPT
iptables -I FORWARD -d 192.168.1.2  -p tcp --dport 443 -j ACCEPT

http://wiki.freifunk-leipzig.public-ip.org/index.php/LAN-Server



More information about the WLANware mailing list