Re: natd port redirect
From: Rainer Homburg (rahom_at_gmx.net)
Date: 01/23/04
- Next message: james
hal-pc.org: "Re: burncd and mounting cd9660 filesystem" - Previous message: Heiner: "Does cdrdao make ports tree inconsistent?"
- In reply to: Materialised: "natd port redirect"
- Next in thread: Materialised: "Re: natd port redirect"
- Reply: Materialised: "Re: natd port redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jan 2004 23:33:58 +0100
You need also some rules for ipfw:
Divert incoming packets to natd:
ipfw add divert natd tcp from any to me <port> in via tun0
Divert responses to natd:
ipfw add divert natd tcp from <server> <port> to any out via
tun0 established
These diversions to natd are necessary, otherwise natd won't
receive any packets to change its source/destination address.
You maybe also need something like:
ipfw add allow tcp from any to any dst-port 80 in via tun0 setup
RH
- Next message: james
hal-pc.org: "Re: burncd and mounting cd9660 filesystem" - Previous message: Heiner: "Does cdrdao make ports tree inconsistent?"
- In reply to: Materialised: "natd port redirect"
- Next in thread: Materialised: "Re: natd port redirect"
- Reply: Materialised: "Re: natd port redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|