RE: Please help me with PF (thanks)

2005-04-30 Thread bob
Simple question, do problems 1, 2,  3 still happen when you comment
out the pf statements in rc.conf and run with out a firewall?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fafa Diliha
Romanova
Sent: Saturday, April 30, 2005 7:51 AM
To: [EMAIL PROTECTED]
Subject: Please help me with PF (thanks)



Hello!

Problems:

  1. BIND stops workin after a while
  2. I cannot establish SSH connections
  3. I cannot FTP to certain sites
  4. PF crashes my computer on FTP uploads

So I'm seeking solutions to these problems.
And maybe ways to SIMPLIFY my pf.conf:

-

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
block   drop log all

# *** Pass loopback traffic
#
passquick on { lo0 $int_if }

# *** Outgoing
#
passout on $ext_if inet proto { tcp, udp, icmp } \
from ($ext_if) to any keep state

# *** Bootstrap
#
passout on $ext_if inet proto udp \
from any port 68 to any port 67 keep state

# *** DNS and NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH, HTTP and Ident
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep
state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

-

Thank you all so much!
-- Fafa

--
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Please help me with PF (thanks)

2005-04-30 Thread Fafa Diliha Romanova

Hello Bob!

Actually, yeah. Strange ...
I guess it's a BIND issue then.

But my BIND setup has been running flawlessly for months
now. I haven't committed any changes to my configuration since
it stopped working. Nothing in /var/log ...

Thanks,
-- Fafa

- Original Message -
From: [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Please help me with PF (thanks)
Date: Sat, 30 Apr 2005 08:06:49 -0400

 
 Simple question, do problems 1, 2,  3 still happen when you comment
 out the pf statements in rc.conf and run with out a firewall?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fafa Diliha
 Romanova
 Sent: Saturday, April 30, 2005 7:51 AM
 To: [EMAIL PROTECTED]
 Subject: Please help me with PF (thanks)
 
 
 
 Hello!
 
 Problems:
 
1. BIND stops workin after a while
2. I cannot establish SSH connections
3. I cannot FTP to certain sites
4. PF crashes my computer on FTP uploads
 
 So I'm seeking solutions to these problems.
 And maybe ways to SIMPLIFY my pf.conf:
 
 -
 
 int_if=ep0
 ext_if=lnc0
 
 # *** Options
 #
 set block-policy drop
 
 # *** Scrub incoming packets
 #
 scrub   in all
 
 # *** NAT
 #
 nat on $ext_if from $int_if:network to any - ($ext_if)
 rdr on $int_if proto tcp from any to any \
  port 21 - 127.0.0.1 port 8021
 
 # *** Default deny policy
 #
 block   drop log all
 
 # *** Pass loopback traffic
 #
 passquick on { lo0 $int_if }
 
 # *** Outgoing
 #
 passout on $ext_if inet proto { tcp, udp, icmp } \
  from ($ext_if) to any keep state
 
 # *** Bootstrap
 #
 passout on $ext_if inet proto udp \
  from any port 68 to any port 67 keep state
 
 # *** DNS and NTP
 #
 passout on $ext_if inet proto udp \
  from ($ext_if) to any port { 53, 123 } keep state
 
 # *** SSH, HTTP and Ident
 #
 passin on $ext_if inet proto tcp \
  from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep
 state
 
 # *** Active FTP
 #
 passin on $ext_if inet proto tcp \
  from port 20 to ($ext_if) user proxy flags S/SA keep state
 
 -
 
 Thank you all so much!
 -- Fafa
 
 --
 ___
 Sign-up for Ads Free at Mail.com
 http://promo.mail.com/adsfreejump.htm
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]