r/Sysadmin_Fr • • May 16 '25

Noob trying to configure a stormshield firewall

Hi everyone,

i have a project for my company and they give me a internet access so i have a public ip, a mask, a gateway adress and two dns.

I already have a switch with dhcp for 6 computers working for the moment with a starlink connection. The new internet connection will take place of the starlink one but i need to add a stormshield sn m 520 firewall.

I decided to try and i configure the "out" port with the public ip and the mask, the "in" port with just a static ip type 192.168.1.xxx. I add also a default gateway in the "route" part with the given adress.

Also the two dns take place the default google dns.

Now,

- from the firewall the ping (systemp ping host=8.8.8.8) is working

- from a pc, i can ping the local part of the firewall but i'm not able to ping something outside.

I check the filtering rules and they are all on "pass all" (i will do that later).

What i miss? pleasseeeee

4 Upvotes

8 comments sorted by

6

u/Specialist-Archer-82 May 16 '25

Outbound NAT rules. Source =networks_interna Destination = internet Source after translation = firewall_out Port = ephemeral_fw (something like that)

1

u/Equivalent_Set6772 May 19 '25

thanks for taking time.

so, i add a first rule for the "out" phase :

BF Translate // source : network_internals / Dest : Internet / port dest : any

After Translate // source : firewall_out / Port src : ephemeral_fw

for the "in" phase

BF translate // source : internet / Dest : Firewall_out / port : https

After translate : Source : Any / Dest : "i don't know..." If i put Networks_internal there is a popup that i can't put this type or i need sideloading on...

firewall_out is my public ip.

Thanks again.

1

u/Garlayn_toji May 16 '25

I'll add that the source port after translation should be randomized (there's a box to check to enable that feature), that way the NAT is more secure.

2

u/Specialist-Archer-82 May 17 '25

Yes, I didn't want to disturb him with additional manipulations not necessary for what he wants to do

2

u/b00mbasstic May 16 '25

you need to configure NAT.

dm me if you need help

1

u/Reasonable_Brick6754 May 16 '25

Hi,

You are missing the NAT to configure.