Trying to figure out how to snat smtp traffic to strip out natted source ip
can anyone help. I dont know if this is possible since my antipam program
 is putting this in the header but what I would like is my mail
server to send its own ip 66.224.62.104. You can look at the header
of this email and see the natted address of my machine.

Thanks
Mike

#INTERFACE  SUBNET  ADDRESS  PROTO PORT(S) IPSEC
eth0          $ETH2_IP   66.224.62.118
eth2          66.224.62.118  $ETH2_IP
eth0 eth1 66.224.62.118
eth2 eth1 $ETH2_IP
#eth0 eth1 66.224.62.104 tcp smtp--------------------------I tried a few 
varitions here no joy!


interfaces
#ZONE INTERFACE BROADCAST OPTIONS
net     eth0 detect  norfc1918,nosmurfs,tcpflags,nosmurfs
net     eth2 detect 
dhcp,norfc1918,nosmurfs,tcpflags,nosmurfs,routefilter,arp_ignore=1
loc     eth1             detect         dhcp
dmz    eth3   detect  routefilter
vpn     tun0
ipvpn

proxy arp
#ADDRESS INTERFACE EXTERNAL HAVEROUTE PERSISTENT
66.224.62.103      eth3        eth0     yes        ----web,sql server only
66.224.62.104      eth3        eth0     yes         ----mail server only

[EMAIL PROTECTED] ~]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt 
Iface
172.16.2.1      *               255.255.255.255 UH        0 0          0 
tun0
ws1.lanlinecomp *               255.255.255.255 UH        0 0          0 
eth3
mail.lanlinecom *               255.255.255.255 UH        0 0          0 
eth3
66.224.62.96    *               255.255.255.224 U         0 0          0 
eth0
172.30.0.0      *               255.255.255.0   U         0 0          0 
eth3
10.194.79.0     *               255.255.255.0   U         0 0          0 
eth1
10.19.227.0     172.16.2.1      255.255.255.0   UG        0 0          0 
tun0
24.19.166.0     *               255.255.254.0   U         0 0          0 
eth2
169.254.0.0     *               255.255.0.0     U         0 0          0 
eth3
default         c-24-19-166-1.h 0.0.0.0         UG        0 0          0 
eth2




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to