Hello. I´m new in porteus 3.1 64bits, and i have a problem with firewall.
When this is active, mail program (trojitá) don´t connect. Also occurs with p2p program (amule). I have to turn off the firewall to run this. :oops
I need help to open the apropiate ports in porteus firewall rules to these programas
Thanks in advance
How Open Firewall Ports?
-
- White ninja
- Posts: 4
- Joined: 25 Apr 2015, 09:10
- Distribution: 3.17.4-porteus
- Location: Indonesia
Re: How Open Firewall Ports?
try edit firewall script with su
then find line "ALLOWED_PORTS" and add the port you want to open here. for example 7234
save it and restart the firewall:
but this setting won't load in next always fresh mode
You can try to create module for your applications, which I more recomended, so it will be able even if in always fresh mode.
Code: Select all
gksu "mousepad /etc/rc.d/rc.Firewall"
Code: Select all
ALLOWED_PORTS="20 21 22 25 80 110 143 443 7234"
Code: Select all
gksu "/etc/rc.d/rc.Firewall stop"
gksu "/etc/rc.d/rc.Firewall start"
You can try to create module for your applications, which I more recomended, so it will be able even if in always fresh mode.
-
- Black ninja
- Posts: 57
- Joined: 07 Feb 2016, 17:45
- Distribution: Porteus 3.1 64bits
- Location: spain
Re: How Open Firewall Ports?
Many Thanks Nergal
I tried it but I get this error message
Thanks for the help
I tried it but I get this error message
I see the path where the firewall file is and edit it with kwrite, but will not let me save changes(gksu:2261): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running
Thanks for the help
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How Open Firewall Ports?
You need to run this command as guest, not root.
If running it as root just leave out the gksu part.
If running it as root just leave out the gksu part.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 57
- Joined: 07 Feb 2016, 17:45
- Distribution: Porteus 3.1 64bits
- Location: spain
Re: How Open Firewall Ports?
Thanks again
I have also tried as a guest. A window appears and asks for administrative authentication permision (root?) and gives me this error with password "toor"
I have also tried as a guest. A window appears and asks for administrative authentication permision (root?) and gives me this error with password "toor"
with password "guest" appears new error windowsguest@porteus:~$ gksu "mousepad /etc/rc.d/rc.Firewall"
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
sh: mousepad: no se encontró la orden
Failed to run mousepad /etc/rc.d/rc.Firewall as user root.
Failed to communicate with gksu-run-helper.
Received:
su: se produjo un fallo en la autenticación
While expecting:
gksu: waiting