Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Help needed for Firewall Rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help needed for Firewall Rules (Read 579 times)
empierrelouis
Newbie
Posts: 2
Karma: 0
Help needed for Firewall Rules
«
on:
March 26, 2024, 04:40:52 am »
Hello there, as I am new to Opensense & the VLAN world I am stuck.
Can you please help me write the correct firewall rule(s) that will allow a computer (IP address 192.168.100.2/24) from PCVLAN tag ID 10 to print on a printer (IP address 10.10.100.2/24) located on the LAN interface?
Thank you in advance.
«
Last Edit: March 26, 2024, 05:11:42 am by empierrelouis
»
Logged
tiermutter
Hero Member
Posts: 1099
Karma: 61
Re: Help needed for Firewall Rules
«
Reply #1 on:
March 26, 2024, 08:17:52 am »
Create a allow rule on VLAN source= 192.168.100.2 and destination= 10.10.100.2
Remember that WSD will work in subnet only, though the printer should be added manually via IP.
Logged
i am not an expert... just trying to help...
jp0469
Jr. Member
Posts: 60
Karma: 8
Re: Help needed for Firewall Rules
«
Reply #2 on:
March 26, 2024, 06:21:41 pm »
Quote from: empierrelouis on March 26, 2024, 04:40:52 am
...that will allow a computer (IP address 192.168.100.2/24)...
Just a heads up. For a single host, you want 192.168.100.2
/32
. If you express your rule as 192.168.100.2/24, then you'll be allowing the entire range of IPs from 192.168.100.0 thru 192.168.100.255 to pass.
Logged
empierrelouis
Newbie
Posts: 2
Karma: 0
Re: Help needed for Firewall Rules
«
Reply #3 on:
March 28, 2024, 07:38:22 am »
Thank you for the reply, I will keep you posted.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Help needed for Firewall Rules