summaryrefslogtreecommitdiffstats
path: root/share/misc/ipfw.samp.scripts
blob: 534f0cb43a6fb654757400ee1ed45d4c7f0c70ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This file shows how we allow and deny users in runtime
#
# Default settings...They deny anybody , which connected to our
# PPP lines,to access any host on our development network:
# 192.114.207.*
ipfw addf deny all from 192.114.201.231 to 192.114.208.0/24
ipfw addf deny all from 192.114.201.232 to 192.114.208.0/24
.....
ipfw addf deny all from 192.114.201.238 to 192.114.208.0/24
# VIP Login: this option executes when user VIP enters the system.
# His IP is $VIPIP,which is one of our dial-up lines,for example
# 192.114.201.233
ipfw delf deny all from $VIPIP to 192.114.208.0/24

# VIP Logout: the guy leaves the system...
ipfw addf deny all from $VIPIP to 192.114.208.0/24

#Thats all folks...
OpenPOWER on IntegriCloud