Displaying 2 results from an estimated 2 matches for "innr".
Did you mean:
inner
2003 Nov 21
0
how to get IPFW rules for SMTP server behind NAT server "right"?
...mail server,
and a client
-- all boxes are running OSX 10.2.8
-- Gateway/Firewall is the kernel's BSD ipfw(8)
-- gateway box has two ethernet interfaces
inif="en1" # internal gateway interface name
exif="en2" # external gateway interface name
innr="10.0.0.0/24" # LOCAL network range
inip="10.0.0.1" # gateway's internal (NAT) IP address
exip="any"
gateway_server="10.0.0.1" # the gateway/firewall box, 2 interfaces
smtp_server="10.0.0.2" # SMTP server beh...
how to get IPFW rules for SMTP server behind NAT server "right"? (freebsd-security: message 1 of 20)
2003 Nov 21
1
how to get IPFW rules for SMTP server behind NAT server "right"? (freebsd-security: message 1 of 20)
...ow tcp from any to ${smtp_server} 25 established
ipfw add 7002 allow log tcp from ${smtp_server} 25 to any setup
ipfw add 7003 allow tcp from ${smtp_server} 25 to any established
right?
>># allow clients to communicate with external smtp servers
>> ipfw add 7002 allow log tcp from ${innr} 1024-65535 to ${exip} 25
>> ipfw add 7003 allow log tcp from ${exip} 25 to ${innr} 1024-65535
>
> Why? Wouldn't you want them to send their mail to your internal mail
> server, which would then send it out?
usually, yes
BUT, sometimes i want to be able to use a local LAN ma...