I need to turnoff the firewall during use of pureftp in the server and gftp on the client in my home network. I am trying to make a small script that will turnoff during when I am using gftp. Is there a command to turnon and turnoff the firewall in FP64?
Is there a command to turnon/off firewall in FP64?(SOLVED)
Moderators: 666philb, Forum moderators
-
- Posts: 333
- Joined: Mon Jul 13, 2020 6:14 pm
- Location: Germany, NRW
- Has thanked: 17 times
- Been thanked: 112 times
Re: command to turnon/off firewall in FP64
Firewall is started/stopped by script /etc/init.d/rc.firewall
Like any system service in /etc/init.d it can be controlled with the start|stop parameter.
So to turn off your firewall run /etc/init.d/rc.firewall stop
Start it again with /etc/init.d/rc.firewall start
(Why not configure firewall for ftp?)
- gychang
- Posts: 554
- Joined: Fri Aug 28, 2020 4:51 pm
- Location: San Diego, CA
- Has thanked: 195 times
- Been thanked: 51 times
Re: command to turnon/off firewall in FP64
HerrBert wrote: ↑Mon Jan 31, 2022 8:15 amFirewall is started/stopped by script /etc/init.d/rc.firewall
Like any system service in /etc/init.d it can be controlled with the start|stop parameter.So to turn off your firewall run
/etc/init.d/rc.firewall stop
Start it again with/etc/init.d/rc.firewall start
(Why not configure firewall for ftp?)
I first tried as seen here but did not seem to work (message "entering passive mode and hangs)... Your suggestions work perfectly with commands.
- bigpup
- Moderator
- Posts: 6338
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 746 times
- Been thanked: 1308 times
Re: Is there a command to turnon/off firewall in FP64?(SOLVED)
If you are trying to set specific ports open.
Do that.
But do not have selected "when this button is checked a generic firewall is generated" .
That makes apply button, still produce the generic firewall, no matter what you select for individual ports.
Select the ports to open.
I think you also need to now select "your firewall is configured".
Then select apply.
Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected
- gychang
- Posts: 554
- Joined: Fri Aug 28, 2020 4:51 pm
- Location: San Diego, CA
- Has thanked: 195 times
- Been thanked: 51 times
Re: Is there a command to turnon/off firewall in FP64?(SOLVED)
bigpup wrote: ↑Tue Feb 01, 2022 3:10 amIf you are trying to set specific ports open.
Do that.
But do not have selected "when this button is checked a generic firewall is generated" .
That makes apply button, still produce the generic firewall, no matter what you select for individual ports.Select the ports to open.
I think you also need to now select "your firewall is configured".
Then select apply.
thanks!, got it.