Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 23, 2024, 01:10:32 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Iptables and cron jobs for blocking and reallowing server
« previous
next »
Print
Pages: [
1
]
Author
Topic: Iptables and cron jobs for blocking and reallowing server (Read 4919 times)
veno
New Member
Posts: 3
Iptables and cron jobs for blocking and reallowing server
«
on:
September 06, 2005, 09:03:16 PM »
See what i'm doing is tryign to get my quake server on 1.32 point release to list faster in the in-game-browser, i was reading on a webpage how to do it! I'll post the webpage and u'll see why i'm blocking then releasing. Here is the website where i got this info
http://www.escapedturkey.com/cfaq/index.php?qid=107&catid=24
See my server lists but theres 1900 servers and it lists at the bottom and no one sees it
BTW i changed my cronjob to this tell me if it looks right
30 3 * * * /sbin/iptables -D OUTPUT 1
0 4 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
30 7 * * * /sbin/iptables -D OUTPUT 1
0 8 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
30 11 * * * /sbin/iptables -D OUTPUT 1
0 12 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
30 15 * * * /sbin/iptables -D OUTPUT 1
0 16 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
30 19 * * * /sbin/iptables -D OUTPUT 1
0 20 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
30 23 * * * /sbin/iptables -D OUTPUT 1
59 23 * * * /sbin/iptables -A OUTPUT -p tcp -d 192.246.40.56 --destination-port 27950 -j REJECT
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Iptables and cron jobs for blocking and reallowing server