how to send smtp traffic via gateway 2?
Home
FAQ
Contact
Sign in
Search
alt.comp.os.linux only
Advanced search
POPULAR GROUPS
perl.cpan.testers
alt.marketplace.online.ebay
alt.forsale
alt.ads.forsale
alt.bestjobsusa.computer
alt.bestjobsusa.computer.jobs
us.jobs.offered
alt.bestjobsusa.jobs.offered
us.jobs
nyc.jobs
more...
Up
how to send smtp traffic via gateway 2?
Group:
alt.comp.os.linux
·
Group Profile
Author:
jerzu
jerzu
Date:
Sep 19, 2008 03:18
Hi,
I have two ISP with two interfeace:
WAN1 & WAN2
I would like to send smtpp traffic via WAN2
and get pop3 traffic via WAN1
how to do it?
regards
Jerry
p.s.
I tried:
wan1 =83.12.12.226
wan2 =78.131.144.101
iptables -t nat -I POSTROUTING -s
192.168.1.0/24
-p tcp --dport 25 \
-j SNAT
--to $wan2 -o eth1
iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to $wan2
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to $wan1
but it doesn't works
1
Comment
diggit!
del.icio.us!
reddit!