EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Sunday 10 November 2024, 11:59:36 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Download the latest community FREE version
HERE
14251
Posts in
4377
Topics by
6515
Members
Latest Member:
hulteends
Search:
Advanced search
EFW Support
Support
General Support
How to stop /start firewall from command line
0 Members and 2 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: How to stop /start firewall from command line (Read 22117 times)
aykuty
Jr. Member
Offline
Posts: 4
How to stop /start firewall from command line
«
on:
Friday 22 March 2013, 06:14:00 am »
Hi,
I want to turn off firewall between noon. But endiand firewall rules dont have time limits. İ want to stop and start firewall between noon from crontab. how can i do?
regards
aykut
Logged
fqureshi
Sr. Member
Offline
Posts: 126
Re: How to stop /start firewall from command line
«
Reply #1 on:
Friday 22 March 2013, 06:51:56 am »
You can create a script and add it to cron job.
Location is /etc/cron.daily
Logged
aykuty
Jr. Member
Offline
Posts: 4
Re: How to stop /start firewall from command line
«
Reply #2 on:
Friday 22 March 2013, 07:13:00 am »
which command is stopping or starting outgoing firewall?
Logged
fqureshi
Sr. Member
Offline
Posts: 126
Re: How to stop /start firewall from command line
«
Reply #3 on:
Friday 22 March 2013, 07:31:33 am »
I never tried to disable firewall from console. But what i can suggest is you can log in to console check the system logs under /var/log/messages (most probably) and while monitoring logs turn off firewall from GUI and the command will show up in logs. Or you can also monitor logs from GUI under logs tab and then system.
Logged
aykuty
Jr. Member
Offline
Posts: 4
Re: How to stop /start firewall from command line
«
Reply #4 on:
Friday 22 March 2013, 05:03:19 pm »
Hi,
thanks for answers. I have check log files while stopping and starting firewall but i can't find anythings
Logged
aykuty
Jr. Member
Offline
Posts: 4
Re: How to stop /start firewall from command line
«
Reply #5 on:
Wednesday 03 April 2013, 05:41:26 am »
hi,
if anyone wondering about this question; i have used iptables-save and restore commands to save and restore firewall rules. then created a script in crond.hourly folder to check minutes and run restore command before and after noon.
regards
aykut
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com