Date: 01-09-00 16:03
first of all, here is the configuration of my network
we have 13 ip's...
our server has 2 interfaces these are xl0 and xl1
xl0 has private ip: 192.168.100.1
xl1 has global fix ip: 22.214.171.124
---[cable modem]-----(xl1,126.96.36.199,202,188.8.131.52)[fbsd]-(xl0,192.168.100.1/24)----[hub]------[our private net]
i meant to forward any incoming connection from 184.108.40.206.220 (alias ip) to another server which is in the private net. let's say 192.168.100.250.
these are my ipfw configurations:
00040 fwd 192.168.100.250 log ip from any to 220.127.116.11
00050 fwd 127.0.0.1,7666 tcp from 192.168.100.0/24 to any 6600-7000
00050 fwd 127.0.0.1,3128 tcp from 192.168.100.0/24 to any 80
00100 divert 8668 ip from any to any via xl1
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
65000 allow ip from any to any
65535 deny ip from any to any
our kernel configurations:
options IPSTEALTH #support for stealth forwarding
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
and the natd daemon which is running:
88 ?? Ss 0:02.26 /sbin/natd -n xl1
i bring the 18.104.22.168 up by this command:
ifconfig xl1 22.214.171.124 alias netmask 255.255.255.0
ifconfig lo0 126.96.36.199 alias netmask 255.255.255.0
when i tried to ping to 188.8.131.52 none of them replied
i can't make any connection to this ip.
can u help us?