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: 375
- Joined: Mon Jul 13, 2020 6:14 pm
- Location: Germany, NRW
- Has thanked: 22 times
- Been thanked: 138 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: 653
- Joined: Fri Aug 28, 2020 4:51 pm
- Location: San Diego, CA
- Has thanked: 235 times
- Been thanked: 73 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: 7593
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 1038 times
- Been thanked: 1692 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.
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: 653
- Joined: Fri Aug 28, 2020 4:51 pm
- Location: San Diego, CA
- Has thanked: 235 times
- Been thanked: 73 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.