Arkadaslar
frebsd gonuldaslari mail server a yonlendirme isini bir turlu
cozemedim 4.3 de normal calisan conf 6.0 da yukledim
calismadi nat ve ipfwde conf larindan baska bir ayar mi var acaba
Rc.conf
…..
firewall_enable="YES"
firewall_type="/etc/ipfw/ipfw.conf"
#firewall_script="/etc/rc.firewall"
firewall_quiet="NO"
firewall_logging_enable="YES"
natd_enable="YES"
natd_interface="fxp0"
natd_flags="-f
/etc/ipfw/natd.conf"
…..
ipfw.conf
add
00020 divert 8668 ip from any to any via fxp0
add
00021 pipe 1 ip from any to 192.168.1.128/25
out via rl0
pipe
1 config bw 200kbit/s
add
00022 fwd 192.168.1.2,25
tcp from any to any 25 in recv fxp0
add
00023 fwd 192.168.1.2,110
tcp from any to any 110 in recv fxp0
…..
…..
natd.conf
use_sockets
same_ports
interface
fxp0
redirect_port
tcp 192.168.1.2:25 25
redirect_port
tcp 192.168.1.2:110 110
dynamic