Re: Transparent proxy using IPFW

2009-12-08 Thread kalpin
Hello, 2009/11/30 kal...@muliahost.com Dear All, Is it possible to do like my requirement below? 1. Setup portfwd in my server listen on port 555 and forward all connection through this port to another server with same port or different port 2. All client which connected through this

Transparent proxy using IPFW

2009-11-30 Thread kalpin
Dear All, Is it possible to do like my requirement below? 1. Setup portfwd in my server listen on port 555 and forward all connection through this port to another server with same port or different port 2. All client which connected through this port, then remote server which landed to the end

Re: Transparent proxy using IPFW

2009-11-30 Thread krad
2009/11/30 kal...@muliahost.com Dear All, Is it possible to do like my requirement below? 1. Setup portfwd in my server listen on port 555 and forward all connection through this port to another server with same port or different port 2. All client which connected through this port, then

Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-04 Thread Ian Smith
On Thu, 4 Dec 2008, Brett Davidson wrote: Ian Smith wrote: On Tue, 2 Dec 2008, Brett Davidson wrote: Ian Smith wrote: On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ifconfig shows the alias addresses correctly bound. Creating an

Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-04 Thread Brett Davidson
Found the problem. Incorrect arp entry. Thanks for your help. Cheers, Brett. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-03 Thread Ian Smith
On Tue, 2 Dec 2008, Brett Davidson wrote: Ian Smith wrote: On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ifconfig shows the alias addresses correctly bound. Creating an ipfw rule and testing it from the command line works (connects out from

Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-01 Thread Ian Smith
On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ifconfig shows the alias addresses correctly bound. Creating an ipfw rule and testing it from the command line works (connects out from master address, not alias) From website on alias address, the firewall

Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-01 Thread Brett Davidson
Ian Smith wrote: On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ifconfig shows the alias addresses correctly bound. Creating an ipfw rule and testing it from the command line works (connects out from master address, not alias) From website on alias

Is there anything weird I should know about using ipfw on alias addresses?

2008-11-30 Thread Brett Davidson
ifconfig shows the alias addresses correctly bound. Creating an ipfw rule and testing it from the command line works (connects out from master address, not alias) From website on alias address, the firewall blocks the packets. The weird thing is that it tags them (in the security log) as

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-25 Thread Ian Smith
addresses for a mac address? 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all mac address via the server's local ethernet card. How can I do these cases? I haven't used ipfw for mac level filtering before, but it looks like the syntax

how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Yavuz Maslak
I use ipfw on freebsd7. I have two questions 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger
to allow these fixed mac addresses using ipfw. After that I want to deny all mac address via the server's local ethernet card. How can I do these cases? Few choose to go that route, but you can disable ARP and set up /etc/ ethers, or you could even fire up your favorite firewall (IPFW, PF

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger
[ ...please don't top-post... ] On Jun 24, 2008, at 11:42 AM, Yavuz Maslak wrote: But I should have asked different my first question. I have meant that how can I restrict to use an ip address which I already assigned to a computer, anyone can use at his pc? There is nothing which can

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread sfourman
. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? Most people use ifconfig, perhaps indirectly via /etc/rc.conf. 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all mac address via the server's local

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chris St Denis
Yavuz Maslak wrote: I use ipfw on freebsd7. I have two questions 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? 2- I want to allow these fixed mac addresses using ipfw. After

Limit # of connections per IP using ipfw?

2008-02-13 Thread patrick
Is there a way to limit the number of TCP connections from a particular IP at a given time using ipfw? We are running Cyrus IMAP on FreeBSD 6.2, and are sometimes subject to POP3 brute force login attacks. I'm not sure if it's Cyrus or the SASL SQL plugin, but these attacks grind the server

Re: Limit # of connections per IP using ipfw?

2008-02-13 Thread Christopher Cowart
On Wed, Feb 13, 2008 at 09:23:31AM -0800, patrick wrote: Is there a way to limit the number of TCP connections from a particular IP at a given time using ipfw? We are running Cyrus IMAP on FreeBSD 6.2, and are sometimes subject to POP3 brute force login attacks. I'm not sure if it's Cyrus

Re: Limit # of connections per IP using ipfw?

2008-02-13 Thread patrick
Perfect, thanks! On Feb 13, 2008 10:14 AM, Christopher Cowart [EMAIL PROTECTED] wrote: On Wed, Feb 13, 2008 at 09:23:31AM -0800, patrick wrote: Is there a way to limit the number of TCP connections from a particular IP at a given time using ipfw? We are running Cyrus IMAP on FreeBSD 6.2

Re: Blocking traffic by Mac address using IPFW

2007-01-27 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 25 Jan 2007 08:22:17 -0600 Kevin Kinsey [EMAIL PROTECTED] wrote: Tek Bahadur Limbu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear All, I need some help regarding using IPFW to block specific MAC addresses. How

Blocking traffic by Mac address using IPFW

2007-01-25 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear All, I need some help regarding using IPFW to block specific MAC addresses. How do I block incoming traffic by a MAC address instead of an IP address. Can this be done using IPFW? Since I am quite new to FreeBSD, can somebody shed some light

Re: Blocking traffic by Mac address using IPFW

2007-01-25 Thread Kevin Kinsey
Tek Bahadur Limbu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear All, I need some help regarding using IPFW to block specific MAC addresses. How do I block incoming traffic by a MAC address instead of an IP address. Can this be done using IPFW? Since I am quite new to FreeBSD, can

Using IPFW to bypass hotmail.com

2007-01-09 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear All, I run a transparent squid proxy using IPFW below: ipfw -q add allow tcp from 192.168.55.0/24 to any 3128 in via bge0 Now I want the IP: 192.168.55.22 to bypass Squid when requesting www.hotmail.com. How do I go about doing this using

Re: Using IPFW to bypass hotmail.com

2007-01-09 Thread Oliver Fromme
Tek Bahadur Limbu wrote: I run a transparent squid proxy using IPFW below: ipfw -q add allow tcp from 192.168.55.0/24 to any 3128 in via bge0 That's not the rule for transparent proxying. For that you need a forward (or fwd) rule, not an allow rule. (Of course, the allow rule above

Re: Using IPFW to bypass hotmail.com

2007-01-09 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Jan 2007 15:28:44 +0100 (CET) Oliver Fromme [EMAIL PROTECTED] wrote: Tek Bahadur Limbu wrote: I run a transparent squid proxy using IPFW below: ipfw -q add allow tcp from 192.168.55.0/24 to any 3128 in via bge0 That's

using ipfw for NAT mapping in a 1:1 fake:real IPs for VPN

2006-11-13 Thread James Bakner
Hi, I have a pretty complicated setup currently and am trying to figure out exactly how to implement it. I'm pretty unfamiliar with freebsd, the last incarnation I used was 4.3 and I only used it for a few months before moving to linux. I have a VPN setup for an IP range

Using IPFW to redirect all outgoing SMTP traffic to localhost

2006-06-22 Thread Kieran Simkin
Hi Guys, I have an IPFW question that I'm a bit stuck on and could do with some help. Basically what I'm trying to do is count and limit the number of e-mails each user on the system is allowed to send. I've got this working fine within the e-mail server and everything's dandy, except for the

Re: Using IPFW to redirect all outgoing SMTP traffic to localhost

2006-06-22 Thread Chuck Swiger
Kieran Simkin wrote: I have an IPFW question that I'm a bit stuck on and could do with some help. Basically what I'm trying to do is count and limit the number of e-mails each user on the system is allowed to send. I've got this working fine within the e-mail server and everything's dandy,

Re: IP Banning (Using IPFW)

2006-02-09 Thread Daniel A.
On 2/9/06, Chris [EMAIL PROTECTED] wrote: On 07/02/06, David Scheidt [EMAIL PROTECTED] wrote: On Tue, Feb 07, 2006 at 12:40:22AM +0200, Atis wrote: On Sun, 5 Feb 2006 18:55:13 -0500 David Scheidt [EMAIL PROTECTED] wrote: Nonsense. There may be some people that only scan

Re: IP Banning (Using IPFW)

2006-02-08 Thread Chris
On 07/02/06, David Scheidt [EMAIL PROTECTED] wrote: On Tue, Feb 07, 2006 at 12:40:22AM +0200, Atis wrote: On Sun, 5 Feb 2006 18:55:13 -0500 David Scheidt [EMAIL PROTECTED] wrote: Nonsense. There may be some people that only scan well-known ports, but it's much more common to scan

Re: IP Banning (Using IPFW)

2006-02-06 Thread Atis
On Sun, 5 Feb 2006 18:55:13 -0500 David Scheidt [EMAIL PROTECTED] wrote: Nonsense. There may be some people that only scan well-known ports, but it's much more common to scan every port on a machine. If you're running a server on a non-standard port, an attacker will find it. sure, but

Re: IP Banning (Using IPFW)

2006-02-06 Thread David Scheidt
On Tue, Feb 07, 2006 at 12:40:22AM +0200, Atis wrote: On Sun, 5 Feb 2006 18:55:13 -0500 David Scheidt [EMAIL PROTECTED] wrote: Nonsense. There may be some people that only scan well-known ports, but it's much more common to scan every port on a machine. If you're running a server on

IP Banning (Using IPFW)

2006-02-05 Thread Michael A. Alestock
Hello, I was wondering if there's some sort of port available that can actively ban IPs that try and bruteforce a service such as SSH or Telnet, by scanning the /var/log/auth.log log for Regex such as Illegal User or LOGIN FAILURES, and then using IPFW to essentially deny (ban) that IP

Re: IP Banning (Using IPFW)

2006-02-05 Thread Philip Hallstrom
I was wondering if there's some sort of port available that can actively ban IPs that try and bruteforce a service such as SSH or Telnet, by scanning the /var/log/auth.log log for Regex such as Illegal User or LOGIN FAILURES, and then using IPFW to essentially deny (ban) that IP for a certain

RE: IP Banning (Using IPFW)

2006-02-05 Thread fbsd_user
choose to do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael A. Alestock Sent: Sunday, February 05, 2006 10:42 AM To: [EMAIL PROTECTED] Subject: IP Banning (Using IPFW) Importance: High Hello, I was wondering if there's some sort of port available

Re: IP Banning (Using IPFW)

2006-02-05 Thread Daniel A.
numbers to your services. Security through obscurity is a bad place to start. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael A. Alestock Sent: Sunday, February 05, 2006 10:42 AM To: [EMAIL PROTECTED] Subject: IP Banning (Using IPFW) Importance: High

RE: IP Banning (Using IPFW)

2006-02-05 Thread fbsd_user
be meaningless. Please check your facts before commenting. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel A. Sent: Sunday, February 05, 2006 4:58 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Michael A. Alestock Subject: Re: IP Banning (Using IPFW

Re: IP Banning (Using IPFW)

2006-02-05 Thread Daniel A.
: IP Banning (Using IPFW) On 2/5/06, fbsd_user [EMAIL PROTECTED] wrote: I find this kind of approach is treating the symptom and not the cause. The basic problem is the services have well published port numbers and attackers beat on those known port numbers. A much simpler approach

Re: IP Banning (Using IPFW)

2006-02-05 Thread David Scheidt
On Sun, Feb 05, 2006 at 05:38:11PM -0500, fbsd_user wrote: You missed to whole meaning. Attackers only scan for the published service port numbers, that is what is meant by portscan the box. Those high order port numbers are dynamically used during normal session conversation. So any

how may i deny many streams downloads using ipfw

2004-09-23 Thread stepan
Hi all! sorry for my english... Please tell me, how to set disable of many streams download (using Flashget or Reget) via my FreeBSD-4.7.1 router using firewall. My `pipe' settings are ineffective where whit this programs. Best regards stepan mailto:[EMAIL

Re: how may i deny many streams downloads using ipfw

2004-09-23 Thread Ion-Mihai Tetcu
On Fri, 24 Sep 2004 10:00:32 +0600 stepan [EMAIL PROTECTED] wrote: Hi all! sorry for my english... Please tell me, how to set disable of many streams download (using Flashget or Reget) via my FreeBSD-4.7.1 router using firewall. My `pipe' settings are ineffective where whit this

Re: Using IPFW DUMMYNET with an existing IPFILTER/IPNAT setup for QoS

2004-08-12 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Seth Henry wrote: | Hello, | I have an existing FreeBSD based router/internet gateway system that is using | ipfilter ipnat. It performs quite well, and my wife would be mightily | irritated if I screwed it up. :) |

Using IPFW DUMMYNET with an existing IPFILTER/IPNAT setup for QoS

2004-08-11 Thread J. Seth Henry
Hello, I have an existing FreeBSD based router/internet gateway system that is using ipfilter ipnat. It performs quite well, and my wife would be mightily irritated if I screwed it up. :) However, we have VoIP through Vonage, and a standard Comcast cable modem connection to the Internet. Most

mail forwarding using ipfw

2004-04-06 Thread free bsd
dear all, i have network like this lanX.com - | lanA.com IPFW FBSD lanB.com === to Internet | | lanC.com ---| |--- lanD.com right now,... lanA.com , lanC.com, lanD.com have smtpoutgoing to internet via lanB.com the problem is ..

Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Odhiambo Washington
Dear Ladies and Gentlemen, I am writing to request for advise/recommendations on the subject. I've been tasked to build a router/firewall based on FreeBSD. I'd like to use 5.2-RELEASE. Now my only problem is that I have played a little with ipfw in a situation where I have just two interfaces, 1

RE: Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Toni Heinonen
I am writing to request for advise/recommendations on the subject. I've been tasked to build a router/firewall based on FreeBSD. I'd like to use 5.2-RELEASE. Now my only problem is that I have played a little with ipfw in a situation where I have just two interfaces, 1 external and 1

Re: Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Wayne Pascoe
On Tue, Mar 30, 2004 at 11:06:16AM +0300, Odhiambo Washington wrote: Now my only problem is that I have played a little with ipfw in a situation where I have just two interfaces, 1 external and 1 internal. My current requirement however involves one external interface and four (or more)

using ipfw

2004-03-02 Thread Karan Gupta
Newbie here so pls excuse if this question sounds trivial i use a single bsd router to service 2 properties. I want ppl on prop A to get 1.024kbit/s and the ones on prop B to get 256kbit/sprop B is connected on the same network as prop A using a wireless device that has the an IP within

Re: using ipfw

2004-03-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Karan Gupta wrote: Newbie here so pls excuse if this question sounds trivial i use a single bsd router to service 2 properties. I want ppl on prop A to get 1.024kbit/s and the ones on prop B to get 256kbit/sprop B is connected on the same network as prop A using a wireless device that

Re: using ipfw

2004-03-02 Thread Jonathan Arnold
Karan Gupta wrote: Newbie here so pls excuse if this question sounds trivial Here's a bunch of links posted to questions a little while ago for ipfw help: http://freebsd.amazingdev.com/blog/archives/000112.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a

Re: using ipfw and ipf/ipnat together

2004-02-17 Thread Fernando Gleiser
selected the following ( FreeBSD 5.2R ): It looks fine Seeing as though I'm not using ipfw filtering I thought I could just allow everything through by default. Will dummynet still work if IPFIREWALL_DEFAULT_TO_ACCEPT is set ? Yes, it will. Fer

using ipfw and ipf/ipnat together

2004-02-16 Thread Nelis Lamprecht
IPFIREWALL #firewall options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options DUMMYNET#bandwidth limiter options IPSTEALTH #support for stealth forwarding Seeing as though I'm not using ipfw filtering I thought I