Old 22nd December 2010, 22:55
dbo dbo is offline
Junior Member
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default iptables SNAT question

Currently I have a router running several networks SNAT to a single outbound static address. Each network has it's own interface. What I am trying to do is route each network out the outbound interface, but each have it's own outbound static IP.

The only NAT rule I'm using now is:

iptables -t nat -A POSTROUTING -s -o eth7 -j SNAT --to
This is routing networks,,, etc. all out a single static address.

I would like to have each net have its own static outbound address, but still use a single outbound interface.

Any help is greatly appreciated.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPC 3.0.3 - Help me optimize Apache+MySQL itsnedkeren Installation/Configuration 7 23rd November 2010 13:43
Iptables gateway with one lan adapter tsmr Installation/Configuration 1 7th August 2008 13:02
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 22:23
RedHat AS 4 firewall iptables question. fbifido Installation/Configuration 2 9th November 2007 23:13
Match IP with MAC using iptables for squid block cooljai Server Operation 0 30th August 2007 19:30

All times are GMT +2. The time now is 06:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.