/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
[EMAIL PROTECTED] wrote:
> HELP!
>
> I have read many of the 'HOW-TO' but still cannot find a solution to the
> problem below:
> Can the linux-gurus please point me to the correct solutions on my
> problem.
> I have a Redhat 7 acting as a FIREWALL with IPCHAINS and IP MASQ running
> fine.
> But behind this LINUX firewall is a machine which is a SMTP SERVER.
> I want to NAT this machine's private ip address to a public address i.e
> 192168.10.23 --> 203.120.30.155 (example)
>
> This is taken into consideration that the whole private ip addr of
> 192.168.10.x is being MASQ to 203.120.30.153 (example).
> The problem is that my SMTP SERVER can send out email to the internet but
> cannot receive email from the internet.
>
> Please help and would like thanks you in advance.
>
> Rgds,
> hcchan
since you are already masquerading, all you should have to
add to your script is:
ipmasqadm portfw -f
ipmasqadm portfw -A -P tcp -L 203.120.30.153 25 -R 192.168.10.23 25
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.