vd at datamax.bg
Tue Dec 13 22:01:26 PST 2005
On Tue, Dec 13, 2005 at 06:27:43PM +0100, OxY wrote:
> i have a probably dumb question, can't get through it..
> i have some ips on my server (x.x.x.28 and x.x.x.204 is important)..
> tried to forward packets from one ip to the other and ipfw doesn't do
> i'd like to catch the packets on .204 port 80 and send them to one of my
> (domain is on .28)
> so anybody on the internet may open the .204 address from browser and get
> the .28 content..
> i used this rule:
> $cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80
> what's wrong with it?
I suggest that you read *carefully* ipfw(8) and rewrite your rule to:
00316 fwd x.x.x.x.28,80 tcp from any to x.x.x.204 80
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20051214/1d9fc5f0/attachment.bin
More information about the freebsd-hackers