Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 82
and
Version 83
of
WikiStart
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
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
1031
1031
/sbin/iptables -A FORWARD -i tap0 -o eth0 -j ACCEPT
1032
1032
1033
#protect local private lan range
1034
#example ranges: 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
1035
iptables -I FORWARD -d 192.168.99.0/24 -j DROP
1036
1033
1037
#before exit 0
1034
1038
}}}