Changes between Version 82 and Version 83 of WikiStart


Ignore:
Timestamp:
Aug 13, 2013, 1:07:24 PM (12 years ago)
Author:
walter
Comment:

iptables protect local lan

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v82 v83  
    10311031/sbin/iptables -A FORWARD -i tap0 -o eth0 -j ACCEPT
    10321032
     1033#protect local private lan range
     1034#example ranges: 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
     1035iptables -I FORWARD -d 192.168.99.0/24 -j DROP
     1036
    10331037#before exit 0
    10341038}}}