|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
ipfw destination nat problem
Hi,
I have tried to make destination nat with freebsd the last few days, but unfortunately with no success. I've been doing it before with Linux, but wanted to try with freebsd as it has other advantages over Linux. The scenario is the following: We are an ISP and every month with have to warn clients from the internal network that have not payed, by redirecting their packets to a web server again in the internal network. I have tried all possible options with natd and .. no success. Please HELP! Reply With Quote |
|
|||
On FreeBSD you could try the pf packet filter. Then it would be something like this.
Code:
ext_if="re0" table <not_paid> persist rdr pass on $ext_if inet proto tcp from <not_paid> port 80 -> 192.168.1.6 port 80 Code:
pfctl -t not_paid -Tadd 204.92.77.11
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to configure ipfw with 4 modems??? | m4st3rcr4zy | FreeBSD General | 0 | 13th February 2009 06:26 AM |
looking for good ipfw resources | dk_netsvil | General software and network | 0 | 15th August 2008 04:05 PM |
ipfw rules not behaving | Weaseal | FreeBSD Security | 5 | 13th August 2008 01:22 PM |
A P2P controlling tool at last - ipfw-classifyd | s0xxx | FreeBSD Ports and Packages | 0 | 3rd August 2008 09:49 AM |
ipfw question | Johnny2Bad | FreeBSD General | 2 | 21st May 2008 12:16 AM |