I have done some lab testing for the firewall but i did not manage to get internet from it. From the device itself i can ping to anything but once i connected to switch and directly connect to my laptop it does not provide internet. I suspect it is a NAT policy but correct me if i am wrong. Feel free to let me know if there is some fine tuning that i need to do. Thank you
This will be the link for my configuration in the firewall.
You’ve created one security zone per VLAN. This might be what you want, but it probably isn’t. A basic branch firewall setup will usually only have three or four zones:
Internal: Internal users and services. This can be wired/wireless users, remote VPN users, or on-prem servers. You can use the default trust zone for this.
External: The Internet. You can use the default untrust zone for this.
DMZ: Any internal servers you want to be accessible from the Internet via static NAT rules.
Guest: If you have guest networks, whether wired or wireless.
Traffic from one zone to another is dropped by default. You have to configure explicit rules allowing it for each zone pair. So in the above model you would need to configure rules for from-zone trust to-zone untrust, from-zone guest to-zone untrust, from-zone dmz to-zone untrust and from-zone untrust to-zone dmz. This is in addition to NAT rules.
I would also not allow all host-inbound-services from all of the internal zones. Do that for trust, but then only allow dmz and guest to ping and traceroute (and dhcp if necessary).
Also a quick note on your 300 do yourself a favor and plug a USB into it and request a slice to that USB. It’ll save your ass once the internal flash on the srx-300 goes bad.
Based on my configuration is there any issue on it ? For the switch port 1 is my uplink to firewall. The dhcp seems to be fine just did not get the internet.
I am able to ping the pc on the same VLAN but not the pc on different VLAN. I can ping different VLAN gateway but not the one connected to it. Do you mind helping me in this case. I believe it has something to do with NAT and also static routing.
Can you ping an internet address? If you can ping an internet address it might be the MSS.
configuration is there any issue on it ?
you have set all system services / protocols as enabled, generally you want this just to be DHCP / ping
host-inbound-traffic {system-services {dhcp;ping;
on the NAT rule you have source IP as “vlan1”, but this matches the from zone. Im not sure if this is wrong but its unnecessary, equally you shouldn’t need to specify the destination.
rule-set office-to-untrust {from zone Office;to zone untrust;rule office-to-untrust {match {source-address 0.0.0.0/0;}then {source-nat {interface;
in the DHCP settings (e.g. Office_Pool) you have
propagate-settings irb.1;
this is propagating DHCP settings from Irb.1 to Irb.1 in effect. This setting is used to take the DHCP options from one interface and push to another. So for instance if you are getting the DNS servers from the firewall/ modem on ge-0/0/0 then you can use propagate settings ge-0/0/0.0 to push in to irb.1 clients.
EDIT
also you need a policy to allow office traffic to untrusted.
Yeah, every vlan ( irb) needs to be in a zone and a policy to get out to the internet. You can also use a global policy instead. Here is a link for you