My problem is that i cant get highid. I dont use amule that much, but it would be great if i understood how to do this the "proper" way.
sac its one jail, and it has aMule running.
sac = 192.168.10.100
amule = 4662tcp and 4672udp
my natd.conf has this:
(i think that natd.conf is not he problem because if i do :
ipfw add allow all from any to any i have highid)
redirect_port tcp 192.168.10.100:4662 4662
redirect_port udp 192.168.10.100:4672 4672
my ipfw rules are:
cumps
sac its one jail, and it has aMule running.
sac = 192.168.10.100
amule = 4662tcp and 4672udp
my natd.conf has this:
(i think that natd.conf is not he problem because if i do :
ipfw add allow all from any to any i have highid)
redirect_port tcp 192.168.10.100:4662 4662
redirect_port udp 192.168.10.100:4672 4672
my ipfw rules are:
ipfw="/sbin/ipfw -q add"
ext="tun0"
/sbin/ipfw -q -f flush
ks=check-state
skip="skipto 500"
ipdns="195.23.129.126,194.79.69.222"
ports="80,443,6667"
$ipfw 100 divert natd ip from any to any in via $ext
$ipfw 101 $ks
$ipfw 200 allow all from any to $ipdns 53 out via $ext keep-state
$ipfw 202 allow icmp from any to any out via $ext keep-state
$ipfw 203 allow all from 192.168.1.11 to 192.168.1.1,192.168.10.100,192.168.11.100 keep-state
$ipfw 204 allow all from 192.168.10.100 to 192.168.10.100
### AMULE ###
$ipfw 300 allow all from any to any 4662 keep-state
$ipfw 302 allow all from any to any 4672 keep-state
$ipfw 304 allow all from any to any 49152-65535 keep-state
$ipfw 500 divert natd all from any to any out via $ext
cumps