update rules

2011-05-06 Thread Ali Faiez Taha
I am trying to set up a PF in OpenBSD 4.9 and using old rules from OpenBSD 3.9 There are some SYNTAX ERRORS : no rdr on $ext_if inet proto tcp from to any rdr on $ext_if inet proto tcp from to any port smtp -> 127.0.0.1 port spamd rdr on $ext_if inet proto tcp from ! to any port smtp -> 127

Connect to port 5432

2009-06-01 Thread Ali Faiez Taha
Dear Sirs. What I need to redirect connections from any Internet valid IP and port 5432 to one intranet server running (PostgreSQL Database) on 5432 port ? I am using FreeBSD 7.2 with PF firewall. The rule on Linux iptables now is: iptables -t nat -A PREROUTING -p tcp -s 0/0 -d AAA.BBB

Block WWW.ORKUT.COM

2007-08-03 Thread Ali Faiez Taha
Dear Sirs. What I need to do to block the access to www.orkut.com, via webproxy, anonymizer sites and direct access ? I am using FreeBSD with PF, without Proxy server, 2 NICs (one for Iternet and one for Intranet). Actually I use a table with a lot of IP address blocked. Thanks __

How to setup a simple firewall

2006-06-07 Thread Ali Faiez Taha
What I need to allow simple clients (with Internet Explorer Browsers, IP 192.168.0.X) to access all FTP server on the net ? Any special rules ??? I am using a simple Firewall (with valid IP) with FreeBSD and PF . | Internet | ( ) Firewall (fixed IP)