SNAT --to-source (ipofdev)

Graham Swallow gps@trix.dircon.co.uk
Wed, 17 May 2000 22:01:37 +0100 (GMT)


Enhancement request:

	could you add an option that chooses the firewalls
	routed interface as the source address

iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to-source self

	Thats similar to using the machines dynamic address,
	but connections are not lost when the modem bounces,
	(or could I use dynamic and be safe if the address
	does not change ... )

Graham

PS: I'm not subscribed, moderator please forward.