[prev in list] [next in list] [prev in thread] [next in thread]
List: ipfilter
Subject: Re: 3.1.6
From: Peter Simons <simons () petium ! rhein ! de>
Date: 1997-01-22 15:45:36
[Download RAW message or body]
Darren Reed <darrenr@cyber.com.au> writes:
> On the topic of using "pass in on le0 to le1 ..." with a NAT mapping
> such as "map le1 foo/32 -> bar/32", I have fixed the BSD/SunOS4 code
> to call the NAT mapping routine. NAT is only invoked if it is just a
> "to" being used, not "dup-to" or "fastroute".
I installed the new version and tried it without success. The machine
phoenix.rhein.de has an default route which points to petium.rhein.de,
and a PPP link to the outside world. I want to route http packets over
this link, instead of routing them over petium. So I configured
IPFilter/IPNat as follows:
| pass out on ed1 to ppp0 proto tcp from any to any port = 80
and
| map ppp0 0.0.0.0/0 -> 193.175.163.115/32
I also tried:
| map ppp0 193.175.27.172/32 -> 193.175.163.115/32
but I had no success. phoenix sends the IP packet out on the right
interface, but the From-Address is still the one, phoenix has on the
ethernet. And this address is, unfortunately, not accepted on this
line, for reasons that are beyond my control. :-(
Any idea what I am doing wrong?
-peter
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic