DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th August 2008
jleal jleal is offline
Real Name: Chuy
Port Guard
 
Join Date: May 2008
Location: Boca del Rio
Posts: 11
Default pf Share problem!

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
Reply With Quote
  #2   (View Single Post)  
Old 12th August 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by jleal View Post
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
Reply With Quote
  #3   (View Single Post)  
Old 13th August 2008
jleal jleal is offline
Real Name: Chuy
Port Guard
 
Join Date: May 2008
Location: Boca del Rio
Posts: 11
Default problem

is there any rdr rule to do that?
Reply With Quote
  #4   (View Single Post)  
Old 13th August 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by jleal View Post
is there any rdr rule to do that?
No, see the information at the link provided earlier.
Reply With Quote
  #5   (View Single Post)  
Old 22nd August 2008
jleal jleal is offline
Real Name: Chuy
Port Guard
 
Join Date: May 2008
Location: Boca del Rio
Posts: 11
Default there is a way

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
Reply With Quote
  #6   (View Single Post)  
Old 22nd August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

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.
Reply With Quote
  #7   (View Single Post)  
Old 25th August 2008
jleal jleal is offline
Real Name: Chuy
Port Guard
 
Join Date: May 2008
Location: Boca del Rio
Posts: 11
Default fact

i apologize it was not my intention to be rude , only i wanted to show the answer i am sorry!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting samba share as normal user rex FreeBSD General 4 27th October 2008 05:17 PM
Funny things in /usr/share/misc ivanatora FreeBSD General 4 10th August 2008 02:13 PM
Linux Machine Can access share on Mac bot the reverse dosen't work. FloridaBSD Other BSD and UNIX/UNIX-like 2 6th August 2008 03:16 AM
Samba global share Weaseal General software and network 1 17th July 2008 10:48 AM
Non-root user editing automatically mounted smb share tad1214 FreeBSD General 8 8th July 2008 02:28 AM


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick