Submitted by ADminS on Fri, 18/06/2004 - 23:26.
( categories: Networking and Servers)

i need to know some things a bout firewall like

how i can Configer drakfw ....

and how i can Open any Port like 22 for ssh ...

and how i can Cloes it....

DarKnesS_WolF's picture
Submitted by DarKnesS_WolF on Sat, 19/06/2004 - 00:17.

u just run

# drakfirewall

as root and then u don`t check everthing (no firewall) option so now u turn the firewall on and u will found under it some services that u wann the internet to connect to u y3ny el service that u want to runn and make ppl from the internet can connect to it . u check on the service that u want to allaw maslan ssh bas. and the rest is not checked . so all the ppl can get is ssh connection to ur box nothing eals . if u want to open a speacial port u click on advanced and then write the port no# and ur done . to close them just don`t check anything and keda thay are closed . and there is iptables and it`s font end shorewall but i don`t know any idea about how to config it . i hope that helped :)

peace


Live Free Or Die...


whirlpool's picture
Submitted by whirlpool on Sat, 19/06/2004 - 01:05.

Actually what drakfirewall configures is Shorewall.


ADminS's picture
Submitted by ADminS on Sat, 19/06/2004 - 23:12.

when i type root@localhost root?# drakfirewall and allow some services Then OK ... i found this SCALAR(0x8c3215c) as: SCALAR(0x8c3215c)root@localhost root?#

... when i open to check it again find no thing changed


Alaa's picture
Submitted by Alaa on Sun, 20/06/2004 - 06:12.

update your system first then try again, if the problem still persist we'll have to look deeper.

bas frankly I recommend you dump drakfirewall and learn to use shorewall directly, its very easy it took me 1 hour to do it.

cheers,
Alaa


http://www.manalaa.net

"u know i once dream that the office of mobinil is from el 7`os :S and the one that answer u and tell u rasidak a girl called ghada"


whirlpool's picture
Submitted by whirlpool on Sat, 19/06/2004 - 01:16.
how i can Open any Port like 22 for ssh ...

How many network interfaces do you have ?
Do you want to open it for your local network only or to the internet?


ADminS's picture
Submitted by ADminS on Sat, 19/06/2004 - 04:11.

Want to open it to the internet


whirlpool's picture
Submitted by whirlpool on Sat, 19/06/2004 - 13:28.

Then follow D.W's directions.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.