[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rdr with no port?



hello. yesterday i installed 3.0 with PF starring, and while playing
with nat.conf i became curious. proto part to rdr rule isn't required,
however port part is. could it be difficult to make it optional as well,
so that the following rule could work

rdr on fxp0 from any to xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy

that could mean, redirect icmp (anyway not having "port"), udp and tcp
(keeping port value unchanged) to another ip, i.e. do just address
mapping. what about such thing? Daniel?

#ifdef OFF_SUBJECT
BTW, saw strange thing: internal interface was up with 10/8 on it,
external if was down with public IP, with N rules, and anti-spoof R
rules. internal workstation (with 10/8 address) pinged extrnal if's
address, and showed that TTL reched 0 in transmission. kinda loop?
#endif

-- 
Denis A. Doroshenko, GPRS engineer
Omnitel Ltd., T. Sevcenkos st. 25, Vilnius, Lithuania
d.doroshenko@omnitel.net, +370 2 262188