how redirect packet that came from other interface ?

Sex Maniac lovememek at yahoo.com
Thu Oct 14 06:07:20 PDT 2004


Hello I got a problem.

1.
I have a NAT router using FreeBSD 4.9.
This router has 2 interfaces :
ed0 with external IP 111.222.3333.444
ed1 with internal IP 10.10.10.1
I am using ipnat.
I have this rule on my ipnat.conf :
rdr ed0 111.222.333.444/32 port 41112 -> 10.10.10.229
port 41112 tcpudp

2.
Problem arise when packet come from ed1.
Computer with IP 10.10.10.234 (with default gateway
10.10.10.1) try to connect to 111.222.333.444 port
41112. 
It's not redirected to 10.10.10.229 :(

How to solve this problem ?
I want the packet from network 10.10.10.0/24 is
redirected to 10.10.10.229 port 41112.

-Galon Aerosmith-


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the freebsd-questions mailing list