Ok.
Sorry, it was a dumb question :(.

Thanks a lot Tom.

Mike 
---
Le 23/05/14 17:40, Tom Eastep a écrit :
On 5/23/2014 6:30 AM, Mike Baroukh wrote:
Hi.

I'm using shorewall 4.4.11 (debian 6) on a host with only 1 interface.
This interface have a second IP with netmask 255.255.255.255.

I try to use this second ip for outgoing traffic when destination port
is 80.

I can't figure how to do this.
It seems than I should use "masq" file but it seems to be for system
with 2 distinct networks.
But is it possible to route local traffic through a specific IP ?

With iptables, it should be something like
-t nat -A POSTROUTING  -o eth0 -p tcp -dport 80 -j SNAT --to-source xxx
<interface>	0.0.0.0/0	<second IP>	tcp	80

-Tom


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs


_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to