Hi,
i wanted to set up edonkey to run on a client(192.168.1.2). the
router(192.168.1.1) on a solaris 10 box is firewalled with ipf. i cant
figure out how to set up the rules properly. here is what i have done:

/etc/ipf/ipf.conf
pass   in     quick on sppp0 proto tcp from any to 192.168.1.2 port = 4662 keep 
state
pass   in     quick on sppp0 proto udp from any to 192.168.1.2 port = 3620 keep 
state

pass  out     quick on sppp0 proto tcp from 192.168.1.2 to any port = 4661 keep 
state
pass  out     quick on sppp0 proto tcp from 192.168.1.2 to any port = 4662 keep 
state
pass  out     quick on sppp0 proto udp from 192.168.1.2 to any port = 4665 keep 
state

block  in           on sppp0 all
pass  out           on sppp0 all

/etc/ipf/ipnat.conf
map sppp0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
map sppp0 192.168.1.0/24 -> 0/32 portmap tcp/udp auto
map sppp0 192.168.1.0/24 -> 0/32

rdr sppp0 0/32 port 4662 -> 192.168.1.2 port 4662 tcp
rdr sppp0 0/32 port 3620 -> 192.168.1.2 port 3620 udp

i always get the message that the client(edonkeyclc) cant connect to
the server. i use the default port configuration.
has someone an idea what`s wrong here? or has someone a working
configuration and can teach me how to set this up right.

thanks for your help


Reply via email to