Is there a command to turnon/off firewall in FP64?(SOLVED)

Moderators: 666philb, Forum moderators

Post Reply
User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Is there a command to turnon/off firewall in FP64?(SOLVED)

Post by gychang »

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?

Last edited by gychang on Mon Jan 31, 2022 9:14 pm, edited 1 time in total.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

HerrBert
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

Post by HerrBert »

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?)

User avatar
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

Post by gychang »

HerrBert wrote: Mon Jan 31, 2022 8:15 am

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?)

I first tried as seen here but did not seem to work (message "entering passive mode and hangs)... Your suggestions work perfectly with commands.

FP-2022-01-31-1643636588_screenshot_1360x768.jpg
FP-2022-01-31-1643636588_screenshot_1360x768.jpg (58.1 KiB) Viewed 836 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
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)

Post by bigpup »

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 :o

User avatar
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)

Post by gychang »

bigpup wrote: Tue Feb 01, 2022 3:10 am

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.

thanks!, got it.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Fossapup64”