View Full Version : pf Share problem!
jleal
08-12-2008, 11:34 PM
Hi i have packet filter as firewall
protected-net <<<<<-------- firewall >>>>>>> local-lan
y want that local-lan access one shared folder in one pc in protected-net
any ideas??
thanks in advance
ocicat
08-13-2008, 12:17 AM
y want that local-lan access one shared folder in one pc in protected-net
Authpf may fit your needs:
http://openbsd.org/faq/pf/authpf.html
jleal
08-13-2008, 02:18 AM
is there any rdr rule to do that?
ocicat
08-13-2008, 03:07 AM
is there any rdr rule to do that?
No, see the information at the link provided earlier.
jleal
08-22-2008, 01:22 AM
of course there is a way DON´T SAY NO if YOU DON´T know the answer
nat on xl0 from 192.168.1.0/24 to any -> xl0
rdr on xl0 inet proto { udp tcp } from 192.168.2.1 to any port 137:139 -> 192.168.1.1 port 137:*
192.168.2.1 = outside network PC
192.168.1.2 = pc with windows share
BSDfan666
08-22-2008, 02:11 AM
Please show a little more respect to the veteran members of this forum jleal, at this point, you're only a guest here.
I expect ocicat simply didn't want to spoon feed you an answer to copy & paste without understanding.
jleal
08-25-2008, 05:08 AM
i apologize it was not my intention to be rude , only i wanted to show the answer i am sorry!
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.