select Firewall > Rules
Select the interface that the ip is on (probably LAN)

Where it says "Proto Source Port Destination Port Gateway Queue Schedule
Description" there is a + icon. click that to create a new rule at the top
of the ruleset (rules are used top rule first)

Action block
Interface: LAN
Protocol Any
source : Single host / 192.168.1.2

This will block that IP from sending anything through the firewall.

Now add another rule the same way (make sure it ends up ABOVE the last rule)
to allow the stuff you want.
Action: pass
Interface Lan
PRotocol TCP
source : Single host / 192.168.1.2
destination port: SMTP

This will allow sending of email.

You can add other rules to allow other protocols like POP, secure SMTP ...

HTH

sai


On 4/23/08, Toto <[EMAIL PROTECTED]> wrote:
>
> help me !!!
>
> i want ip 192.168.1.2 colud not open web but only do mail access. how to
> setup in pfsense to do it?
>
> thank for your help
>
>
>

Reply via email to